Skip to main content

generate_aes_key

Function generate_aes_key 

Source
pub fn generate_aes_key() -> [u8; 32]
Expand description

Generate a fresh 32-byte AES-256 key. Mirrors the Go side’s cinchcrypto.GenerateKey() used by cinch auth login to seed the per-user clip-encryption key.