Skip to content

Commit

Permalink
scrypt: use hex constant for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Jul 3, 2014
1 parent 8a837a3 commit 538a779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scrypt.js
@@ -1,6 +1,6 @@
var pbkdf2 = require('pbkdf2-sha256')

var MAX_VALUE = 2147483647
var MAX_VALUE = 0x7fffffff

// N = Cpu cost, r = Memory cost, p = parallelization cost
function scrypt(key, salt, N, r, p, dkLen) {
Expand Down

0 comments on commit 538a779

Please sign in to comment.