File tree Expand file tree Collapse file tree
core/src/main/java/org/bitcoinj/crypto Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ enum EncryptionType {
8181 * @see <a href="http://stackoverflow.com/questions/11126315/what-are-optimal-scrypt-work-factors">What are optimal scrypt work factors?</a>
8282 */
8383 class ScryptParameters {
84- public static final int DEFAULT_N = 16384 ;
84+ public static final int DEFAULT_N = 131072 ;
8585 public static final int DEFAULT_R = 8 ;
8686 public static final int DEFAULT_P = 1 ;
8787 private final byte [] salt ;
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public KeyCrypterScrypt() {
9494
9595 /**
9696 * Encryption/Decryption using custom number of iterations parameters and a random salt.
97- * As of August 2016 , a useful value for mobile devices is 4096 (derivation takes about 1 second).
97+ * As of May 2026 , a useful value for mobile devices is 131072 (derivation takes about 1 second).
9898 *
9999 * @param iterations
100100 * number of scrypt iterations
You can’t perform that action at this time.
0 commit comments