Module fencryption_lib::crypto

source ·
Expand description

Crypto utility.

Structs

  • A struct for encrypting/decrypting bytes or io streams.

Enums

  • Enum of the different possible crypto errors.

Constants

  • Decryption chunk length: iv (12b) + ciphertext (128kb) + auth tag (16b).
  • Encryption chunk length: plaintext (128kb).
  • Default initialization vector length (12b).
  • Default authentication tag length (16b).