Skip to content

Commit

Permalink
feat: Increase KDF params N value to 2**18 to produce more secure key…
Browse files Browse the repository at this point in the history
…store
  • Loading branch information
ashchan committed Aug 28, 2019
1 parent f865177 commit 06f5ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/neuron-wallet/src/models/keys/keystore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class Keystore {
const kdfparams: KdfParams = {
dklen: 32,
salt: salt.toString('hex'),
n: 8192,
n: 2 ** 18,
r: 8,
p: 1,
}
Expand Down

0 comments on commit 06f5ac6

Please sign in to comment.