mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-19 13:45:48 +00:00
KeyCrypterScrypt: Bump up recommendation for number of iterations on mobile devices.
This commit is contained in:
parent
9c9e3a9744
commit
55fe6fe6c9
@ -103,8 +103,8 @@ public class KeyCrypterScrypt implements KeyCrypter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encryption/Decryption using custom number of iterations parameters and a random salt. A useful value for mobile
|
* Encryption/Decryption using custom number of iterations parameters and a random salt.
|
||||||
* devices is 512 (~500 ms).
|
* As of August 2016, a useful value for mobile devices is 4096 (derivation takes about 1 second).
|
||||||
*
|
*
|
||||||
* @param iterations
|
* @param iterations
|
||||||
* number of scrypt iterations
|
* number of scrypt iterations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user