Module encryption

Module encryption 

Source
Expand description

Encryption utilities for local data protection

Provides AES-256-GCM encryption for protecting sensitive configuration and user data at rest.

§Security Notes

  • Uses AES-256-GCM for authenticated encryption
  • Nonces are randomly generated and prepended to ciphertext
  • Keys should be stored securely (e.g., in OS keychain)

Structs§

Encryptor
AES-256-GCM encryptor for protecting sensitive data
SecureConfigManager
Secure configuration manager with encryption and keychain-backed key storage