Cryptographic primitives.