pub fn hash_password(password: &str) -> Result<String, i32>Expand description
Creates a salted production PBKDF2-SHA256 password hash.
§Parameters
password: Input consumed bycrate::runtime::dynamic::hash_password.
§Returns
Returns the successful value produced by crate::runtime::dynamic::hash_password or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::dynamic::hash_password cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::hash_password(todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.