tweak parameters to use more memory
This commit is contained in:
parent
26e37123f5
commit
53810678f6
|
@ -5,7 +5,7 @@ use crate::num::Num;
|
||||||
const SALT: [u8; 0] = [];
|
const SALT: [u8; 0] = [];
|
||||||
|
|
||||||
pub fn hash(data: &[u8], out: &mut [u8]) {
|
pub fn hash(data: &[u8], out: &mut [u8]) {
|
||||||
let params = Params::new(6, 6, 1, 32).unwrap();
|
let params = Params::new(6, 64, 1, 32).unwrap();
|
||||||
scrypt(data, &SALT.clone(), ¶ms, out).unwrap();
|
scrypt(data, &SALT.clone(), ¶ms, out).unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue