{"_id":"crypt3","_rev":"23-706f96e83deb5c8e809ac5923e657d59","name":"crypt3","description":"Node.js crypt(3) bindings","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"crypt3","version":"0.1.0","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/Sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"node-gyp":"*"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/Sendanor/node-crypt3/issues"},"_id":"crypt3@0.1.0","dist":{"shasum":"73899ef9b3f4be8c0cac87feb33495f6135cf78f","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.1.0.tgz","integrity":"sha512-xAtlvh5bqVKr9OGImT9CKZGwNV8ntt5gdIo18G351trx7VXb/oPCVmBw6NLL/w3y9Z+INos7y2wXZsXpI7PhMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmO0Ad4I76Tq1uW2YHEw0mxhBvQ/h/+Z9geSBLzd/j+AiEAyyKC3B8SNpriLx58cbfRXgYAdVq70q3s5hbU1aym2XU="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"directories":{}},"0.1.1":{"name":"crypt3","version":"0.1.1","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/Sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"node-gyp":"*"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/Sendanor/node-crypt3/issues"},"_id":"crypt3@0.1.1","dist":{"shasum":"e7393cb70005c3b02629ecc85e7970db2c8c54d2","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.1.1.tgz","integrity":"sha512-kpV8uYLljLmeRgXzyYrtJqvNPVnE+UIIQWjhjpoArMHoZAZEgyrUlSSK6lH/DwWzZcDwimJZ1UqcSeLIrhAOYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIASKLb9FVHmqULupaC69igFDIXPI9OP1riIop3AqLHexAh8ysDz1CgevKbElEYvGT4rP5acGnbYEtYssh8Hwrrkc"}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"directories":{}},"0.1.2":{"name":"crypt3","version":"0.1.2","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/Sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"node-gyp":"*"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/Sendanor/node-crypt3/issues"},"_id":"crypt3@0.1.2","dist":{"shasum":"94fdb858ed8240d51a99582cf36034302ddb88ec","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.1.2.tgz","integrity":"sha512-TFcGLWbrAQ4JlVC+2moAoREL6VE+sABx9nXrL1cMJ9UCJbvsw81yMmag6faZGsCiOzxIc205ilvVJlZOhEjPlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuY0CKSV+XYOwL26XapIPS5b+3KwIPMuDeJnNLlI3CRgIhAL4ZVpPB72oxMgCFCKuaiAhYxXbkXlI06VIicLn3lhHP"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"directories":{}},"0.1.3":{"name":"crypt3","version":"0.1.3","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"node-gyp":"*"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/sendanor/node-crypt3/issues"},"homepage":"https://github.com/sendanor/node-crypt3","_id":"crypt3@0.1.3","dist":{"shasum":"f8ea82e2facca2922380da8336e222b220aebe5f","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.1.3.tgz","integrity":"sha512-ReYpMCofDE1hrtLIiP0i8uNzkgE5Y3KHqVkw6dHfqlVuKR29+pP+d1yU7vL13QHnJo4MVBe1tl6w+GdWqzOUvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl7hb/WURpkqZIIg0z7kUrEcBmcLh/QYFjPrLpkmHZPQIhAP22WC6uLvouUE98C0bKONeDO0fWXjnjtBARABW1jtwK"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}]},"0.1.4":{"name":"crypt3","version":"0.1.4","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"node-gyp":"*"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/sendanor/node-crypt3/issues"},"homepage":"https://github.com/sendanor/node-crypt3","_id":"crypt3@0.1.4","dist":{"shasum":"5c32dedc21330011443536b2b42f3a77d0f4f7f5","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.1.4.tgz","integrity":"sha512-nLlP5OYFFgxWkJR1ybH5T5mYNC6MTxNQZraKpMYopZnqfyRYQsB48llE7t2lYvJ70ZhC3Gn3i+xa3wPE+aS/QA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfO47UbW7tRst6KCLA0zpfI7FA2i6+cFMa1UTLaYaskgIhAOlRe6OgxPb/yaW9oV8leU4h7OeUOW503sKNaJgXCTdU"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}]},"0.1.5":{"name":"crypt3","version":"0.1.5","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"gitHead":"50e6965af6c7e4a0cc12062c70c4e9ff3aa45eec","bugs":{"url":"https://github.com/sendanor/node-crypt3/issues"},"homepage":"https://github.com/sendanor/node-crypt3","_id":"crypt3@0.1.5","_shasum":"e2a688f34d45c16da9139ed8acba5da5679e8c3b","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"dist":{"shasum":"e2a688f34d45c16da9139ed8acba5da5679e8c3b","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.1.5.tgz","integrity":"sha512-rWl47oc2uGu+EIju40I4vJJ6w1qlFOOTJp34DQlNBlCtpgLTIMeuBFjKBGvaMj4j/KkBA6pPyLGbsHRBUmuuWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChbWQrXwuKMJDLo6ME9Kpa6oJ5mIUvSHgvkZQFADM2pQIhAP0yZ/s+iu4K8RemRI8g2f4OPbsGRrAVYthern1zT85p"}]}},"0.1.6":{"name":"crypt3","version":"0.1.6","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"node test/test.js","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"nan":"~1.3.0"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"gitHead":"8b47b4a2f542a7d9a80a62870ef3e4af0d751b33","bugs":{"url":"https://github.com/sendanor/node-crypt3/issues"},"homepage":"https://github.com/sendanor/node-crypt3","_id":"crypt3@0.1.6","_shasum":"1f3c0124f2987eb736d731b578f5c7756a2f9f3f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"dist":{"shasum":"1f3c0124f2987eb736d731b578f5c7756a2f9f3f","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.1.6.tgz","integrity":"sha512-wBGbmuBzMVapsmxdtumcuH6VkQWQShssxE8UZaQxPgS2wJDuSOAdFAR7U51wQa8yFur9hSsLVhVHrTNhICoqLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC3QaTrwjDSZszOenrkAe9TvjtonBEdDr7iC2/1RvrThAiEArwVf2gC+/RkCrMlqbcsEArCyewhUCqNSSZcuEKtErF4="}]}},"0.1.7":{"name":"crypt3","version":"0.1.7","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"node test/test.js","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"nan":"1 >=1.6.2"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"gitHead":"06b7d059eae3bf0168c13ff5350477f45b86d746","bugs":{"url":"https://github.com/sendanor/node-crypt3/issues"},"homepage":"https://github.com/sendanor/node-crypt3","_id":"crypt3@0.1.7","_shasum":"fa420e17984d6042a34de5c6d8c2fc4e27017853","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"dist":{"shasum":"fa420e17984d6042a34de5c6d8c2fc4e27017853","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.1.7.tgz","integrity":"sha512-4KwBhrXOTDtz7PoyAHv4mQdzosd0RqeIkgdGmiQWHt6/qgvxbi20wRJ8TIlPWreTcn6+9qjTummwa51byeJ8Eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWHMpAwXVvo99Rw15ss0n1S3dhQEw6ktq/tZyFuuZvSwIhAJoHEUOqm+2MjHKsWqSi2vD0XJmBZU9h0uPfNpah0XsO"}]}},"0.1.8":{"name":"crypt3","version":"0.1.8","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"node test/test.js","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"nan":"1 >=1.6.2"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"gitHead":"5892a55ae69ebf30268d4adb99fe67143d5e1a4f","bugs":{"url":"https://github.com/sendanor/node-crypt3/issues"},"homepage":"https://github.com/sendanor/node-crypt3","_id":"crypt3@0.1.8","_shasum":"60f27edeb4ec10703012463e6b974c73a1129688","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"dist":{"shasum":"60f27edeb4ec10703012463e6b974c73a1129688","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.1.8.tgz","integrity":"sha512-XSL4KaV2a3TwlaGJmxoDnlGtIfW3R1XyPp5ceyPgu7ePFbuAR9k/lkGJokw2g3wWikQ+ipfeJvAmdIzzFulkJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1Tokcbpyj+9Zvq3jXrCUlVfdPAeKoY/smJHTFXpz9oAiB1uKQEU8UkhUdW6vGYd9xbbo384uQXoO2qMh6k7GD6/g=="}]}},"0.2.0":{"name":"crypt3","version":"0.2.0","description":"Node.js crypt(3) bindings","main":"index.js","scripts":{"test":"node test/test.js","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"nan":"^2.1.0"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"gitHead":"fccdcd3dab8ed9bb9c5a37ef19014e57aafc8739","bugs":{"url":"https://github.com/sendanor/node-crypt3/issues"},"homepage":"https://github.com/sendanor/node-crypt3","_id":"crypt3@0.2.0","_shasum":"4bd28e0770fad421fc807745c1ef3010905b2332","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"dist":{"shasum":"4bd28e0770fad421fc807745c1ef3010905b2332","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-0.2.0.tgz","integrity":"sha512-riA574RPPPCDBb6+9ESQObLwFyLnrggsMPmG1SVoMx4BkHe8gttoBQXIvCAAPtH/UTRQ++n+jxJ+2h7pNb1Kyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXFoki5FiwMIDVfBK41abAM005JNLKWksgrqmJ4AnvRwIhANyxXTMNqpGh9FNfFRA1dno7xRt/p7+wzGMu1M7DODDK"}]}},"1.0.0":{"name":"crypt3","version":"1.0.0","description":"Node.js crypt(3) bindings","main":"src/index.js","scripts":{"test":"node test/test.js","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git+https://github.com/sendanor/node-crypt3.git"},"keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"dependencies":{"nan":"^2.1.0","q":"^1.0.1"},"optionalDependencies":{"q":"^1.0.1"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"license":"MIT","gypfile":true,"gitHead":"a18aefc6598fe544fda0ff962f703d20a29a3ec6","bugs":{"url":"https://github.com/sendanor/node-crypt3/issues"},"homepage":"https://github.com/sendanor/node-crypt3#readme","_id":"crypt3@1.0.0","_shasum":"8a658f1d16999b5505adc96cccd7bc683214befe","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"jhh","email":"jhh@sendanor.com"},"dist":{"shasum":"8a658f1d16999b5505adc96cccd7bc683214befe","tarball":"https://registry.npmjs.org/crypt3/-/crypt3-1.0.0.tgz","integrity":"sha512-5ZI6fnowBntxnqew+AyIOD1iWgWVSAgsTofMoYCR3XRqKY8JU3FwdpFgIdU4i6m+zLRDetG/WEAlwGGUpNODYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOQizYNcFXHM/LOXf1mUmAzJIXau+vZ/V4egBMDt620AiA4FKeiMIbRzKF5QpaxxNxyhl/hBXdU390GDskpS7YFug=="}]},"maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/crypt3-1.0.0.tgz_1469972789528_0.16367611614987254"}}},"readme":"node-crypt3\n===========\n\n[crypt3link]: https://en.wikipedia.org/wiki/Crypt_(C) \"crypt() in C\"\n\n[crypt(3)][crypt3link] for Node.js\n\nInstallation\n------------\n\nInstall using `npm install crypt3` and use:\n\n### Promise version using [Q library](https://github.com/kriskowal/q)\n\n```javascript\nvar crypt = require('crypt3/q');\n```\n\n```javascript\ncrypt('6Xz7sS6fEmnWScMb6Ayf363e5cdqF4Kh', '$1$SrkubyRm$DEQU3KupUxt4yfhbK1HyV/').then(function(value) {\n\tif( value !== '$1$SrkubyRm$DEQU3KupUxt4yfhbK1HyV/' ) {\n\t\tconsole.error('Access denied!');\n\t\treturn;\n\t}\n}).fail(function(err) {\n\t...\n});\n```\n\n### Async version\n\n```javascript\nvar crypt = require('crypt3/async');\n```\n\n```javascript\ncrypt('6Xz7sS6fEmnWScMb6Ayf363e5cdqF4Kh', '$1$SrkubyRm$DEQU3KupUxt4yfhbK1HyV/', function(err, value) {\n\tif(err) {\n\t\t...\n\t\treturn;\n\t}\n\tif( value !== '$1$SrkubyRm$DEQU3KupUxt4yfhbK1HyV/' ) {\n\t\tconsole.error('Access denied!');\n\t\treturn;\n\t}\n});\n```\n\n### Sync version\n\n```javascript\nvar crypt = require('crypt3/sync');\n```\n\n```javascript\nif( crypt('6Xz7sS6fEmnWScMb6Ayf363e5cdqF4Kh', '$1$SrkubyRm$DEQU3KupUxt4yfhbK1HyV/') !== '$1$SrkubyRm$DEQU3KupUxt4yfhbK1HyV/' ) {\n\tconsole.error('Access denied!');\n\treturn;\n}\n```\n\n#### Example password encoding\n\nUse `crypt(key[, salt])`:\n\n```javascript\nconsole.log( crypt('6Xz7sS6fEmnWScMb6Ayf363e5cdqF4Kh') );                                   // Salt generated automatically using default SHA512\nconsole.log( crypt('6Xz7sS6fEmnWScMb6Ayf363e5cdqF4Kh', crypt.createSalt('md5') ) );         // MD5 salt\nconsole.log( crypt('6Xz7sS6fEmnWScMb6Ayf363e5cdqF4Kh', crypt.createSalt('blowfish') ) );    // Blowfish salt (only some Linux distros)\nconsole.log( crypt('6Xz7sS6fEmnWScMb6Ayf363e5cdqF4Kh', crypt.createSalt('sha256') ) );      // SHA-256\nconsole.log( crypt('6Xz7sS6fEmnWScMb6Ayf363e5cdqF4Kh', crypt.createSalt('sha512') ) );      // SHA-512\n```\n\nCreate hashes\n-------------\n\nUse `crypt.createSalt([type=sha512])` where type is one of `md5`, `blowfish`, `sha256` or `sha512` (default). \n\nCommercial Support\n------------------\n\nYou can buy commercial support from [Sendanor](http://sendanor.com/software).\n","maintainers":[{"name":"jhh","email":"jhh@sendanor.com"}],"time":{"modified":"2022-06-14T04:00:12.975Z","created":"2013-08-05T12:05:18.096Z","0.1.0":"2013-08-05T22:21:52.676Z","0.1.1":"2013-08-05T22:23:47.968Z","0.1.2":"2013-11-09T22:35:16.793Z","0.1.3":"2014-02-07T12:31:06.015Z","0.1.4":"2014-02-27T11:56:00.269Z","0.1.5":"2014-06-27T02:29:05.506Z","0.1.6":"2014-11-05T03:11:23.853Z","0.1.7":"2015-02-15T22:11:47.384Z","0.1.8":"2015-04-15T21:31:30.402Z","0.2.0":"2015-11-07T12:14:14.663Z","1.0.0":"2016-07-31T13:46:32.481Z"},"author":{"name":"Jaakko-Heikki Heusala","email":"jheusala@iki.fi"},"repository":{"type":"git","url":"git+https://github.com/sendanor/node-crypt3.git"},"readmeFilename":"README.md","homepage":"https://github.com/sendanor/node-crypt3#readme","keywords":["crypt","password","md5","sha256","sha512","blowfish","hash"],"bugs":{"url":"https://github.com/sendanor/node-crypt3/issues"},"license":"MIT","users":{"fgribreau":true}}