Skip to main content

Crate lockboxer

Crate lockboxer 

Source
Expand description

Lockboxer

Configurable fork of Lockbox. It is used in accordance with the project’s license.

This library provides encryption and decryption using the AES-GCM (Galois/Counter Mode) algorithm. It ensures data integrity and confidentiality while providing flexibility for various use cases.

§Features

  • Simple and intuitive API for encrypting and decrypting data.
  • Support for customizable tags, Additional Authenticated Data (AAD), and Initialization Vectors (IV).
  • Secure default settings to avoid common cryptographic pitfalls.
  • Error handling with detailed, meaningful messages.

Structs§

VaultWithConfig
Vault provides methods for encrypting and decrypting data using the AES-GCM algorithm.

Enums§

Error

Functions§

generate_key
Generates a random 256-bit (32-byte) key for AES-256 encryption.

Type Aliases§

DefaultIvLength
IvLength12
IvLength16
Vault