Cryptography class and interfaces for encryption and decryption.