Cryptography stuff.