{"_id":"@agarcian/passwordhash","_rev":"6-8201cc42ca55bc1c91aa2e5fcd34716f","name":"@agarcian/passwordhash","description":"Salted password hashing with PBKDF2. (Adapted from http://crackstation.net/hashing-security.htm)","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@agarcian/passwordhash","version":"1.0.0","description":"Salted password hashing with PBKDF2. (Adapted from http://crackstation.net/hashing-security.htm)","main":"index.js","scripts":{"test":"mocha --reporter sync","cover":"node_modules/istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- -R spec test/*"},"keywords":["password","hash"],"author":{"name":"Andres Garcia","email":"agarcian@ieee.org"},"license":"ISC","devDependencies":{"chai":"~3.0.0","coveralls":"^2.11.2","istanbul":"^0.3.17","mocha":"^2.2.5"},"dependencies":{"async":"^1.5.0","buffer-equal-constant-time":"^1.0.1","crypto":"0.0.3"},"_id":"@agarcian/passwordhash@1.0.0","_shasum":"93bf91d73e38fa70da0eb242b770b23e0db1640f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.0.0","_npmUser":{"name":"agarcian","email":"Andres.Garcia@florencehc.com"},"dist":{"shasum":"93bf91d73e38fa70da0eb242b770b23e0db1640f","tarball":"https://registry.npmjs.org/@agarcian/passwordhash/-/passwordhash-1.0.0.tgz","integrity":"sha512-J87byHxRxl1Csn405vUrU/jvmc+d+/Impvz63zVzxIu17fYfNpY80y8JFoPWLiK9T/iUH9WogHv5qhhhlCW+4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEg+xQVD0n3fyUt21Qb4P7TbzWjhwMAY3zcKTzKrySgAiEAp0/mQGz3J69QtUPGoYUIeZY5EZyzvksCWX9pToUm3nY="}]},"maintainers":[{"name":"agarcian","email":"Andres.Garcia@florencehc.com"}]},"1.0.1":{"name":"@agarcian/passwordhash","version":"1.0.1","description":"Salted password hashing with PBKDF2. (Adapted from http://crackstation.net/hashing-security.htm)","main":"index.js","scripts":{"test":"lab -t 90","test-cov-html":"lab -r html -o coverage.html"},"keywords":["password","hash"],"author":{"name":"Andres Garcia","email":"agarcian@ieee.org"},"license":"ISC","devDependencies":{"code":"^2.0.1","lab":"^7.2.0"},"dependencies":{"async":"^1.5.0","buffer-equal-constant-time":"^1.0.1","crypto":"0.0.3"},"_id":"@agarcian/passwordhash@1.0.1","_shasum":"3318922a5e18d73588dcde1d45c74d14541c6b7a","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.0.0","_npmUser":{"name":"agarcian","email":"Andres.Garcia@florencehc.com"},"dist":{"shasum":"3318922a5e18d73588dcde1d45c74d14541c6b7a","tarball":"https://registry.npmjs.org/@agarcian/passwordhash/-/passwordhash-1.0.1.tgz","integrity":"sha512-9owdBlztnSxH/AnRj08MjdPc7DGlDR/3w9g+odvRFNB1S3u/Si0g8qG2quT+I8K0SFuWT633xHencA4nTR4p2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChQR4WfYodpNiHVlbqEhDbl8j/2bbl6pGBRdkAqeVgcAIhAJ2Bj5sTCGk54MA5VDedvKJV2t7CL9JHgLmjFFHfCFrs"}]},"maintainers":[{"name":"agarcian","email":"Andres.Garcia@florencehc.com"}]},"1.0.2":{"name":"@agarcian/passwordhash","version":"1.0.2","description":"Salted password hashing with PBKDF2. (Adapted from http://crackstation.net/hashing-security.htm)","main":"index.js","repository":{"type":"git","url":"git+https://github.com/agarcian/passwordhash.git"},"scripts":{"test":"lab -t 90","test-cov-html":"lab -r html -o coverage.html"},"keywords":["password","hash"],"author":{"name":"Andres Garcia","email":"agarcian@ieee.org"},"license":"ISC","devDependencies":{"code":"^2.0.1","lab":"^7.2.0"},"dependencies":{"async":"^1.5.0","buffer-equal-constant-time":"^1.0.1","crypto":"0.0.3"},"gitHead":"b837c1533aa0c0e2d1c6c4581dbb64aac08018cf","bugs":{"url":"https://github.com/agarcian/passwordhash/issues"},"homepage":"https://github.com/agarcian/passwordhash#readme","_id":"@agarcian/passwordhash@1.0.2","_shasum":"a164e4c57df76a497495e067bdd8d9f6195d7b6c","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.0.0","_npmUser":{"name":"agarcian","email":"Andres.Garcia@florencehc.com"},"dist":{"shasum":"a164e4c57df76a497495e067bdd8d9f6195d7b6c","tarball":"https://registry.npmjs.org/@agarcian/passwordhash/-/passwordhash-1.0.2.tgz","integrity":"sha512-hgqVLNc/hj005MVQzB/V6M9lIJSRpz/AVybj16BK2Z2zc2AxIt7Wx9241/dd8QrhyNsTYSpJ4wgmsZPnUnI2dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjcCK4Hpmm1nNObsiQbHsIxUpP+c6Urrt7GZiT/2dF4AIgdQNLbQNH/H21qwox3yvxPIopYufwODC/TNA66xbkJU8="}]},"maintainers":[{"name":"agarcian","email":"Andres.Garcia@florencehc.com"}]},"1.0.3":{"name":"@agarcian/passwordhash","version":"1.0.3","description":"Salted password hashing with PBKDF2. (Adapted from http://crackstation.net/hashing-security.htm)","main":"index.js","repository":{"type":"git","url":"git+https://github.com/agarcian/passwordhash.git"},"scripts":{"test":"lab -t 90","test-cov-html":"lab -r html -o coverage.html"},"keywords":["password","hash"],"author":{"name":"Andres Garcia","email":"agarcian@ieee.org"},"license":"ISC","devDependencies":{"code":"^2.0.1","lab":"^7.2.0"},"dependencies":{"async":"^1.5.0","buffer-equal-constant-time":"^1.0.1","crypto":"0.0.3"},"gitHead":"2914ccd4d7ea20535991ea09f920e76f58322440","bugs":{"url":"https://github.com/agarcian/passwordhash/issues"},"homepage":"https://github.com/agarcian/passwordhash#readme","_id":"@agarcian/passwordhash@1.0.3","_shasum":"885248b662e20db448de11c9cb5d07a3a33e4fff","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"agarcian","email":"Andres.Garcia@florencehc.com"},"dist":{"shasum":"885248b662e20db448de11c9cb5d07a3a33e4fff","tarball":"https://registry.npmjs.org/@agarcian/passwordhash/-/passwordhash-1.0.3.tgz","integrity":"sha512-ovyW33Kd2YNRTkst3dmvQkK0ef+wKU/DTcowQ+OqFGy5MeI8WoyVNTG09Pz4qeDiHIjg8/JDpEjiM/8jIC+hAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsxeUgoVH/6vMkOCtL8TuN/BOuO8NYcXx20FviYdbhlQIhAPHdrqsrqMGN2DxZRRAlWbT0DcaeiEPXssyqVbvGrqDp"}]},"maintainers":[{"name":"agarcian","email":"Andres.Garcia@florencehc.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/passwordhash-1.0.3.tgz_1490634323747_0.09830666519701481"}}},"readme":"Password Hash\n=========\n\nA node.js module to hash passwords based on this article: https://crackstation.net/hashing-security.htm\n\nThis produces a password in the following format:\n\n`<hashing algorithm>:<number of iterations>:<hashed password>:<unique seed>`\n\nFor example, the following is a hash for the password Florence123:\n\n`sha1:20000:p5GwEABDCx/HwW9p2gMXoyUAMXkWNPU4:dRUwYNvT0iapWk3l+OaiFPzb6z/ii20r`\n\n##Benefits\n\nThe article describes the algorithm to produce a secure hash for a password.  Some of the main benefits is that each entry contains its own secure seed, so every record in the database should have a different seed for every password.\n\n\n## Installation\n\n  `npm install @agarcian/passwordhash`\n\n## Usage\n\n    \n    var passwordhash = require('@agarcian/passwordhash');\n    \n    var pwd  = 'my password';\n    var hash = passwordhash.createHash(pwd, function(err, hash) {\n        passwordhash.validatePassword(pwd, hash, function(err, success) {\n            console.log('The password hash was validated successfully:' + success ? 'yes' : 'no');\n        });\n    });\n  \n  Output should be `yes`\n\n## Tests\n\n  `npm test`","maintainers":[{"name":"agarcian","email":"Andres.Garcia@florencehc.com"}],"time":{"modified":"2022-06-12T14:21:23.859Z","created":"2015-11-11T06:18:39.119Z","1.0.0":"2015-11-11T06:18:39.119Z","1.0.1":"2015-11-11T20:32:53.757Z","1.0.2":"2015-11-12T00:53:42.259Z","1.0.3":"2017-03-27T17:05:25.634Z"},"keywords":["password","hash"],"author":{"name":"Andres Garcia","email":"agarcian@ieee.org"},"license":"ISC","readmeFilename":"README.md","homepage":"https://github.com/agarcian/passwordhash#readme","repository":{"type":"git","url":"git+https://github.com/agarcian/passwordhash.git"},"bugs":{"url":"https://github.com/agarcian/passwordhash/issues"}}