pub mod audit;
pub mod cipher;
pub mod cli;
pub mod config;
pub mod error;
pub mod factory;
pub mod key_derivation;
pub mod key_provider;
pub mod manager;
pub mod rotation;
pub mod wal_encryption;
pub use audit::{AuditEvent, AuditLevel, EncryptionAuditLogger};
pub use cipher::{
AES_256_GCM_ID, Aes256GcmCipher, CHACHA20_POLY1305_ID, ChaCha20Poly1305Cipher, Cipher,
};
pub use cli::{
EncryptionStatus, KeyGenResult, format_encryption_status, generate_key, get_encryption_status,
validate_key_file,
};
pub use config::{EncryptionConfig, KeyProviderConfig};
pub use error::{EncryptionError, KeyDerivationError, KeyProviderError};
pub use factory::{Algorithm, algorithm_from_id, create_cipher};
pub use key_derivation::{
CHECKPOINT_DEK_CONTEXT, COLD_DEK_CONTEXT, INDEX_DEK_CONTEXT, KeyDerivation, WAL_DEK_CONTEXT,
};
pub use key_provider::{EnvKeyProvider, FileKeyProvider, KeyFormat, KeyProvider};
pub use manager::EncryptionManager;
pub use rotation::{KeyRotationManager, KeyVersion, RotationState};
pub use wal_encryption::{decrypt_wal_payload, encrypt_wal_payload};