{"name":"md5-hex","version":"1.0.1","description":"Create a MD5 hash with hex encoding","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/md5-hex"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["hash","crypto","md5","hex","buffer"],"devDependencies":{"ava":"0.0.4"},"gitHead":"22be3374dc1f7e9e4149857db71736d04f3b90ee","bugs":{"url":"https://github.com/sindresorhus/md5-hex/issues"},"homepage":"https://github.com/sindresorhus/md5-hex","_id":"md5-hex@1.0.1","_shasum":"72d969a17770849d23dac6d8d903c21630d33ffa","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"72d969a17770849d23dac6d8d903c21630d33ffa","tarball":"http://registry-npm.ywwl.com/md5-hex/download/md5-hex-1.0.1.tgz","integrity":"sha512-WdLORAmIxoVJ4TZMxdIWpdLijo9fsX1s5EOG4HGzJcZ32W5p8TD1TxAuXHygzW5Dc0jXXm2BZKpnkdZheT1new==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA7h7FNoRySxfCf2gKrE0C24GQoi+ZvAMdVGw9vgeu9UAiEAs/agx2ZcyibyblgEuZi9lXLrRmQLJM7MT7+IAmXutI4="}],"size":1574,"noattachment":false,"key":"/md5-hex/-/md5-hex-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# md5-hex\n\n> Create a MD5 hash with hex encoding\n\n*Please don't use MD5 hashes for anything sensitive!*\n\nWorks in the browser too, when used with a bundler (like Webpack, Rollup, Browserify).\n\nCheckout [`hasha`](https://github.com/sindresorhus/hasha) if you need something more flexible.\n\n## Install\n\n```sh\nnpm install md5-hex\n```\n\n## Usage\n\n```js\nimport fs from 'node:fs';\nimport md5Hex from 'md5-hex';\n\nconst buffer = fs.readFileSync('unicorn.png');\n\nmd5Hex(buffer);\n//=> '1abcb33beeb811dca15f0ac3e47b88d9'\n```\n\n## API\n\n### md5Hex(data)\n\n#### data\n\nType: `Buffer | string | Array<Buffer | string>`\n\nPrefer buffers as they're faster to hash, but strings can be useful for small things.\n\nPass an array instead of concatenating strings and/or buffers. The output is the same, but arrays do not incur the overhead of concatenation.\n\n## Related\n\n- [crypto-hash](https://github.com/sindresorhus/crypto-hash) - Tiny hashing module that uses the native crypto API in Node.js and the browser\n- [hasha](https://github.com/sindresorhus/hasha) - Hashing made simple\n- [hash-obj](https://github.com/sindresorhus/hash-obj) - Get the hash of an object\n","publish_time":1432401201209,"_cnpm_publish_time":1432401201209,"dist-tags":{"latest":"5.0.0"}}