crypto/crypto/cipher/api/src/api library

Classes

BlockCipherApi
Constructs AES block ciphers and their modes (CBC, CTR, ECB).
Ff1Api
FF1 format-preserving encryption (NIST SP 800-38G).
StreamCipherApi
Constructs stream ciphers (ChaCha20).
ValidatedBlockCipherApi
BlockCipherApi wrapper that validates key/IV lengths before delegating.
ValidatedFf1Api
Ff1Api wrapper that validates arguments before delegating.
ValidatedStreamCipherApi
StreamCipherApi wrapper that validates key length before delegating.