reddb_server/crypto/
mod.rs1pub mod aes_gcm;
2pub mod const_time;
3pub mod hmac;
4#[path = "os-random.rs"]
5pub mod os_random;
6pub mod page_encryption;
7pub mod sha256;
8pub mod uuid;
9
10pub use aes_gcm::{aes256_gcm_decrypt, aes256_gcm_encrypt};
11pub use const_time::constant_time_eq;
12pub use hmac::hmac_sha256;
13pub use page_encryption::{
14 decrypt_page, encrypt_page, is_encrypted_frame, key_from_env,
15 parse_key as parse_encryption_key, PageEncryptionError, FRAME_MAGIC, FRAME_OVERHEAD,
16 FRAME_VERSION,
17};
18pub use sha256::{sha256, Sha256};
19pub use uuid::Uuid;