3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-14 19:25:51 +00:00

KeyCrypterScrypt: Bump up recommendation for number of iterations on mobile devices.

This commit is contained in:
Andreas Schildbach 2016-08-19 22:41:09 +02:00
parent 9c9e3a9744
commit 55fe6fe6c9

View File

@ -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
* devices is 512 (~500 ms).
* Encryption/Decryption using custom number of iterations parameters and a random salt.
* As of August 2016, a useful value for mobile devices is 4096 (derivation takes about 1 second).
*
* @param iterations
* number of scrypt iterations