Raxol.Security.Encryption.EncryptedStorage (Raxol v2.0.1)
View SourceProvides transparent encryption for data at rest.
This module handles automatic encryption and decryption of sensitive data stored in files, databases, and caches. It integrates with the KeyManager for key management and rotation.
Features
- Transparent encryption/decryption
- Multiple storage backends (file, database, S3)
- Compression before encryption
- Integrity verification with HMAC
- Streaming encryption for large files
- Encrypted search capabilities
- Automatic re-encryption on key rotation
Summary
Functions
Returns a specification to start this module under a supervisor.
Deletes encrypted data.
Gets storage statistics.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Lists all stored encrypted items.
Re-encrypts data with a new key.
Re-encrypts all data with new keys (key rotation).
Retrieves and decrypts data.
Retrieves and decrypts a file.
Searches encrypted data without decrypting (using encrypted indices).
Stores data with automatic encryption.
Stores a file with encryption.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Deletes encrypted data.
Gets storage statistics.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Lists all stored encrypted items.
Re-encrypts data with a new key.
Re-encrypts all data with new keys (key rotation).
Retrieves and decrypts data.
Retrieves and decrypts a file.
Searches encrypted data without decrypting (using encrypted indices).
Stores data with automatic encryption.
Stores a file with encryption.