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§
- Vault
With Config - Vault provides methods for encrypting and decrypting data using the AES-GCM algorithm.
Enums§
Functions§
- generate_
key - Generates a random 256-bit (32-byte) key for AES-256 encryption.