trade up unnecessary security for speed
This commit is contained in:
parent
f6230ee51a
commit
06a281aa08
|
@ -1,5 +1,5 @@
|
|||
use argon2::{Argon2, Params};
|
||||
|
||||
pub fn get_argon2() -> Argon2<'static> {
|
||||
argon2::Argon2::new(argon2::Algorithm::Argon2id, argon2::Version::V0x13, Params::new(65535, 4, 4, Some(64)).unwrap())
|
||||
argon2::Argon2::new(argon2::Algorithm::Argon2id, argon2::Version::V0x13, Params::new(256, 2, 2, Some(32)).unwrap())
|
||||
}
|
Loading…
Reference in New Issue