Expand description
Encryption for API keys at rest
This module provides AES-256-GCM encryption for storing API keys securely, inspired by Loxone’s RSA/AES encryption approach.
Structs§
- Encrypted
Data - Encrypted data with nonce
Enums§
- Encryption
Error - Encryption errors
Functions§
- decrypt_
data - Decrypt data using AES-256-GCM
- derive_
encryption_ key - Derive an encryption key from a master key and context
- encrypt_
data - Encrypt data using AES-256-GCM
- generate_
encryption_ key - Generate a random encryption key
- secure_
zero - Zero out sensitive data in memory