derive_key_from_password

Function derive_key_from_password 

Source
pub fn derive_key_from_password(password: &str) -> Result<[u8; 32]>
Expand description

Derive a 256-bit key from a password using a simple approach In production, you might want to use PBKDF2, scrypt, or Argon2