Skip to main content

derive_key

Function derive_key 

Source
fn derive_key(passphrase: &str, salt: &[u8; 32]) -> [u8; 32]
Expand description

Derive a 32-byte AES-256-GCM key from passphrase using Argon2id.