Skip to content

Commit

Permalink
update difficulty
Browse files Browse the repository at this point in the history
  • Loading branch information
thedoublejay committed Aug 6, 2021
1 parent 23180a1 commit 21cf75f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/wallet/provider/mnemonic_encrypted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { WalletPersistenceData, WalletType } from '../persistence'

// BIP38 default, 16k, 8, 8
const DEFAULT_SCRYPT_N_R_P = [
Math.pow(2, 12),
4, // decide stress on ram, not to reduce, to remained strong POW
Math.pow(2, 9),
8, // decide stress on ram, not to reduce, to remained strong POW
2 // iteration, directly stack up time (if only purely single thread)
]

Expand Down

0 comments on commit 21cf75f

Please sign in to comment.