Skip to main content
hash_password
yggdrasil
0.9.0
In yggdrasil::
auth::
password
yggdrasil
::
auth
::
password
Function
hash_
password
Copy item path
Source
pub fn hash_password(password: &
str
) ->
Result
<
String
, Error>
Expand description
使用 Argon2 对明文密码进行哈希。