Function argon2rs::argon2i_simple [] [src]

pub fn argon2i_simple(password: &str, salt: &str) -> [u8; 32]

Convenience wrapper around Argon2i for the majority of use cases where only a password and salt are supplied. Note that a salt between 8 and 232 - 1 bytes must be provided.