Sha256: 3ce9bde63b539e6849519d1a1505afa1f84862a5eca062284c07fbd4b9228ed2
Contents?: true
Size: 421 Bytes
Versions: 7
Compression:
Stored size: 421 Bytes
Contents
var compat = require('./browser') process.on('message', function (m) { try { var result = compat.pbkdf2Sync(new Buffer(m.password, 'hex'), new Buffer(m.salt, 'hex'), m.iterations, m.keylen, m.digest) process.send({ data: result.toString('hex'), type: 'success' }) } catch (e) { process.send({ data: e && e.message, type: 'fail' }) } finally { process.exit() } })
Version data entries
7 entries across 7 versions & 2 rubygems