{"_id":"crypto-md5","_rev":"3-357eb45614d8d96e9572e091535cd951","name":"crypto-md5","description":"Simply expose crypto md5 as a single function","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"crypto-md5","version":"1.0.0","description":"Simply expose crypto md5 as a single function","author":{"name":"Jerome Touffe-Blin","email":"jtblin@gmail.com","url":"http://about.me/jtblin"},"homepage":"https://github.com/jtblin/crypto-md5","repository":{"type":"git","url":"git://github.com/jtblin/crypto-md5.git"},"main":"md5.js","engines":{"node":">=0.5.2","iojs":">=1.0.0"},"keywords":["crypto","md5","hash"],"license":"BSD","devDependencies":{"chai":"^2.2.0","istanbul":"^0.3.13","mocha":"^2.2.1"},"scripts":{"test":"NODE_ENV=test mocha -w test/","cov":"istanbul cover _mocha","viewcov":"open test/coverage/lcov-report/index.html"},"gitHead":"9d5263c2dcc657f0756b8015d1b83c77ca118c06","bugs":{"url":"https://github.com/jtblin/crypto-md5/issues"},"_id":"crypto-md5@1.0.0","_shasum":"ccc8da750c753c7edcbabc542967472a384e86bb","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.1","_npmUser":{"name":"jtblin","email":"jtblin@gmail.com"},"maintainers":[{"name":"jtblin","email":"jtblin@gmail.com"}],"dist":{"shasum":"ccc8da750c753c7edcbabc542967472a384e86bb","tarball":"https://registry.npmjs.org/crypto-md5/-/crypto-md5-1.0.0.tgz","integrity":"sha512-65Mtei8+EkSIK+5Ie4gpWXoJ/5bgpqPXFknHHXAyhDqKsEAAzUslGd8mOeawbfcuQ8fADNKcF4xQA3fqlZJ8Ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGS3rvmc8sSbgWLvlU3/UXCQ3fXKidBFhL/xlQRCw+TzAiAMIKS7pxzeQqbPvyIIkqfyh9oeT4Lxap+DPM0rRtIL8Q=="}]}}},"readme":"[![NPM version](https://badge.fury.io/js/crypto-md5.svg)](http://badge.fury.io/js/crypto-md5)\n\n# crypto-md5\n\nThere are several md5 modules on npm, but none of them use the `crypto` node module.\nResearching the performance impact of one vs another is tedious, and I just wanted to\nuse the core one without having to duplicate code all the time so I just implemented\nthis function as a separate module.\n\n## Usage\n\n    npm install --save crypto-md5\n\n## API\n\n### md5(data, digest)\n\n  Returns a base64 md5 hash of the buffer or string. Can return an hex digest.\n\n* `data`: buffer or string to hash\n* `digest`: optional digest type. Can be `base64` (default) or `hex`\n\n```js\nvar md5 = require('md5');\n\nmd5('foobar');\n\n// OFj2IjCsPJFfMAxmQxLGPw==\n\nmd5('foobar', 'hex');\n\n// 3858f62230ac3c915f300c664312c63f\n```\n\n## Contributions\n\nPlease open issues for bugs and suggestions in [github](https://github.com/jtblin/crypto-md5/issues).\nPull requests with tests are welcome.\n\n## Author\n\nJerome Touffe-Blin, [@jtblin](https://twitter.com/jtlbin), [About me](http://about.me/jtblin)\n\n## License\n\ncrypto-md5 is copyright 2015 Jerome Touffe-Blin and contributors. It is licensed under the BSD license.\nSee the include LICENSE file for details.\n","maintainers":[{"name":"jtblin","email":"jtblin@gmail.com"}],"time":{"modified":"2022-06-14T04:03:35.833Z","created":"2015-04-04T00:46:22.088Z","1.0.0":"2015-04-04T00:46:22.088Z"},"homepage":"https://github.com/jtblin/crypto-md5","keywords":["crypto","md5","hash"],"repository":{"type":"git","url":"git://github.com/jtblin/crypto-md5.git"},"author":{"name":"Jerome Touffe-Blin","email":"jtblin@gmail.com","url":"http://about.me/jtblin"},"bugs":{"url":"https://github.com/jtblin/crypto-md5/issues"},"license":"BSD","readmeFilename":"README.md"}