Function gen_salt

Source
pub fn gen_salt(cost: u8) -> Result<[u8; 30], CryptError>
Expand description

Generate salt for a BCrypt hash.