Generic interface for cryptographic operations (hashes, ciphers, randomness).