Expand description
Crypto utility.
Structs§
- Crypto
- A struct for encrypting/decrypting bytes or io streams.
Enums§
- Error
Kind - Enum of the different possible crypto errors.
Constants§
- DEC_
CHUNK_ LEN - Decryption chunk length: iv (12b) + ciphertext (128kb) + auth tag (16b).
- ENC_
CHUNK_ LEN - Encryption chunk length: plaintext (128kb).
- IV_LEN
- Default initialization vector length (12b).
- TAG_LEN
- Default authentication tag length (16b).