fix: use original argon2 config instead of default
This commit is contained in:
parent
029e45aee8
commit
c3e6db5071
@ -13,7 +13,7 @@ fn get_current_time() -> u64 {
|
||||
}
|
||||
|
||||
fn hash_string(data: &[u8]) -> Result<String, argon2::Error> {
|
||||
argon2::hash_encoded(data, "11111111".as_bytes(), &argon2::Config::default())
|
||||
argon2::hash_encoded(data, "11111111".as_bytes(), &argon2::Config::original())
|
||||
}
|
||||
|
||||
fn generate_random_string(len: usize) -> String {
|
||||
|
Loading…
Reference in New Issue
Block a user