changes to Crypt_Random