Perfecting random 64 function