{ "_id": "md5-hex", "_rev": "10-da6941207a4da324631c7f6e385474bb", "name": "md5-hex", "description": "Create a MD5 hash with hex encoding", "dist-tags": { "latest": "3.0.1" }, "versions": { "1.0.0": { "name": "md5-hex", "version": "1.0.0", "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": "24537065c3d0063c796669f2921429805554ab5b", "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "homepage": "https://github.com/sindresorhus/md5-hex", "_id": "md5-hex@1.0.0", "_shasum": "b174a70432e515ad63c8ed7d6bc36f600f15526a", "_from": ".", "_npmVersion": "2.10.1", "_nodeVersion": "0.12.4", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "b174a70432e515ad63c8ed7d6bc36f600f15526a", "tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.0.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {} }, "1.0.1": { "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": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.0.1.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {} }, "1.0.2": { "name": "md5-hex", "version": "1.0.2", "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": "d8f6e8b27ff37fdcb8708c2c596e6b4fcf96bebf", "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "homepage": "https://github.com/sindresorhus/md5-hex", "_id": "md5-hex@1.0.2", "_shasum": "6dba1264bced751e902d56e2ca32c3bbfa31eaa9", "_from": ".", "_npmVersion": "2.10.1", "_nodeVersion": "0.12.4", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "6dba1264bced751e902d56e2ca32c3bbfa31eaa9", "tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.0.2.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {} }, "1.1.0": { "name": "md5-hex", "version": "1.1.0", "description": "Create a MD5 hash with hex encoding", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/md5-hex.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "browser": "browser.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js", "browser.js" ], "keywords": [ "hash", "crypto", "md5", "hex", "buffer", "browser", "browserify" ], "dependencies": { "md5-o-matic": "^0.1.1" }, "devDependencies": { "ava": "*", "xo": "*" }, "gitHead": "9722ed0e0b13d5b7dc0383308b494ccae3160faa", "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "homepage": "https://github.com/sindresorhus/md5-hex#readme", "_id": "md5-hex@1.1.0", "_shasum": "d107074c4ee81cbca7f2b61150669dce38058080", "_from": ".", "_npmVersion": "2.14.3", "_nodeVersion": "4.1.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "d107074c4ee81cbca7f2b61150669dce38058080", "tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.1.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {} }, "1.2.0": { "name": "md5-hex", "version": "1.2.0", "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" }, "browser": "browser.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js", "browser.js" ], "keywords": [ "hash", "crypto", "md5", "hex", "buffer", "browser", "browserify" ], "dependencies": { "md5-o-matic": "^0.1.1" }, "devDependencies": { "ava": "*", "xo": "*" }, "gitHead": "e1cf3546c29d3ea21ae8b4e9c77e2453703f6681", "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "homepage": "https://github.com/sindresorhus/md5-hex", "_id": "md5-hex@1.2.0", "_shasum": "60366a6d7c23f8241947e14ae1b7358efdc0e200", "_from": ".", "_npmVersion": "2.14.12", "_nodeVersion": "4.2.4", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "60366a6d7c23f8241947e14ae1b7358efdc0e200", "tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.2.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {} }, "1.2.1": { "name": "md5-hex", "version": "1.2.1", "description": "Create a MD5 hash with hex encoding", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/md5-hex.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "browser": "browser.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js", "browser.js" ], "keywords": [ "hash", "crypto", "md5", "hex", "buffer", "browser", "browserify" ], "dependencies": { "md5-o-matic": "^0.1.1" }, "devDependencies": { "ava": "*", "xo": "*" }, "gitHead": "93b11aa24c4c3716da81b54570e4149232600189", "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "homepage": "https://github.com/sindresorhus/md5-hex#readme", "_id": "md5-hex@1.2.1", "_shasum": "f6d12928794aedda344225644ae23e12af817001", "_from": ".", "_npmVersion": "3.5.3", "_nodeVersion": "4.2.4", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "f6d12928794aedda344225644ae23e12af817001", "tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.2.1.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {} }, "1.3.0": { "name": "md5-hex", "version": "1.3.0", "description": "Create a MD5 hash with hex encoding", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/md5-hex.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "browser": "browser.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js", "browser.js" ], "keywords": [ "hash", "crypto", "md5", "hex", "buffer", "browser", "browserify" ], "dependencies": { "md5-o-matic": "^0.1.1" }, "devDependencies": { "ava": "*", "xo": "*" }, "gitHead": "273d9c659a29e4cd53512f526282afd5ac1c1413", "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "homepage": "https://github.com/sindresorhus/md5-hex#readme", "_id": "md5-hex@1.3.0", "_shasum": "d2c4afe983c4370662179b8cad145219135046c4", "_from": ".", "_npmVersion": "2.15.0", "_nodeVersion": "4.4.2", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "d2c4afe983c4370662179b8cad145219135046c4", "tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.3.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/md5-hex-1.3.0.tgz_1460471196734_0.9732175024691969" }, "directories": {} }, "2.0.0": { "name": "md5-hex", "version": "2.0.0", "description": "Create a MD5 hash with hex encoding", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/md5-hex.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=4" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js", "browser.js" ], "keywords": [ "hash", "crypto", "md5", "hex", "buffer", "browser", "browserify" ], "dependencies": { "md5-o-matic": "^0.1.1" }, "devDependencies": { "ava": "*", "xo": "*" }, "browser": "browser.js", "gitHead": "5d8f3a88b2de9bfdf7e4f07f253dd88c102814df", "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "homepage": "https://github.com/sindresorhus/md5-hex#readme", "_id": "md5-hex@2.0.0", "_shasum": "d0588e9f1c74954492ecd24ac0ac6ce997d92e33", "_from": ".", "_npmVersion": "2.15.11", "_nodeVersion": "4.6.2", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "d0588e9f1c74954492ecd24ac0ac6ce997d92e33", "tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-2.0.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/md5-hex-2.0.0.tgz_1484310584188_0.43361427285708487" }, "directories": {} }, "3.0.0": { "name": "md5-hex", "version": "3.0.0", "description": "Create a MD5 hash with hex encoding", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/md5-hex.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=8" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "hash", "crypto", "md5", "hex", "buffer", "browser" ], "dependencies": { "md5-o-matic": "^0.1.1" }, "devDependencies": { "@types/node": "^12.0.0", "ava": "^1.4.1", "tsd": "^0.7.2", "xo": "^0.24.0" }, "browser": "browser.js", "gitHead": "7894ab1da00e8a32061c20d19f56fd5a84e8ae80", "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "homepage": "https://github.com/sindresorhus/md5-hex#readme", "_id": "md5-hex@3.0.0", "_nodeVersion": "8.16.0", "_npmVersion": "6.9.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-uA+EX5IV1r5lKBJecwTSec3k6xl4ziBUZihRiOpOHCeHjKA0ai6+eImamXQy/cI3Qep5mQgFTeJld9tcwdBNFw==", "shasum": "96cf5c62cedea41e04124b9473ef7481db6de5fb", "tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-3.0.0.tgz", "fileCount": 6, "unpackedSize": 4301, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczW5LCRA9TVsSAnZWagAA4m0P/1a63iO3vsAmLxSwZwwY\n7YaNFxMF0+qF7VBZbSBLZ9cc7/vkVOxe0OURW/JJ1dIW8n7KIQ7AX8JmFBKQ\nNeiKMnyq/UTsYeV3raaZvCu+wqknVAOxoOareBIxPt9Rtm8lgrSEFAne9W68\n9PyQNgP7FXhjckgQK6mwAdK3OPCF+O3it9CvpQcJNmCJKDXW+wu7igY1QWNV\nu8bBJBXBW5IQ1uFiE1bzD2XkEex8C5qup/IUJ8c5eQfaIxtOUb5ZDS5IIKjF\nFl/rwyr73wBu3ZlW55ek8y407X4aZ2wLg9deQDfgz5WJew2520L0XA0ZevZ3\nNPOX4dqomA+tUUm65vD1StZJFGtIM1hw6ypN40rri/X8TaCKvTJzXZpBLqcD\nY3+JkYxhHi9wtoqL4zYF2KLwPn1TK9UifX/t/wLf6e3KK95d1Eyuw5IAvWk7\nMCj/ub6KnmEUXo+SSPIeQjjEbct6MGPl7ZWOPAoAabGe91+b7rF0G0ClFFE0\nY1niFOVJmHyr4egypXGRmWaaFLN3jiCVvRPknlA7TTUZPf38Cj771xr6ypgH\nPHKaAsW9Q6dCZHxXFhpthm6uYF2wubO2SgNdrUOGupYimq0VAs2pc+J9Bkgw\nwcSWCNZ2efPYDWGFT0ltca6US+ZJjgtTVjqoXJxEOuygmN8m6HIwlAf4MFzG\n9O10\r\n=9sJb\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/md5-hex_3.0.0_1556966986885_0.08163180072785758" }, "_hasShrinkwrap": false }, "3.0.1": { "name": "md5-hex", "version": "3.0.1", "description": "Create a MD5 hash with hex encoding", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/md5-hex.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=8" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "hash", "crypto", "md5", "hex", "buffer", "browser" ], "dependencies": { "blueimp-md5": "^2.10.0" }, "devDependencies": { "@types/node": "^12.6.2", "ava": "^2.2.0", "tsd": "^0.7.4", "xo": "^0.24.0" }, "browser": "browser.js", "gitHead": "cd4a994d38bd9923b59e569f44d7c1b1e22921bf", "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "homepage": "https://github.com/sindresorhus/md5-hex#readme", "_id": "md5-hex@3.0.1", "_nodeVersion": "10.16.0", "_npmVersion": "6.9.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==", "shasum": "be3741b510591434b2784d79e556eefc2c9a8e5c", "tarball": "https://registry.npmjs.org/md5-hex/-/md5-hex-3.0.1.tgz", "fileCount": 6, "unpackedSize": 4243, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJ29uCRA9TVsSAnZWagAAcLgP/Rx1s5PsR3VQ6IwVUZy9\nmQev8ydT03TOXxwYOVvBUSFa261ChfQNLQMPM3wPd4d1oIKD0aBpRBcyfTTC\n7gN5Isnr83Tmk6l6za2dwfozG5VFxRZaTuyJEQS17p8UTPywqE4/D9ll0E8X\n7yvwBc579MAt0/n+ctTo3Ory/5GTSfbEZ7a0P8WBE3uPq1YW2lMALtSJSvQZ\ndmr0skuPYQXIZvljuEpccGSMilyFh3kYHvSW56hN9KuLaW0AOL+oqWtro8Ec\nZvaJ7y0FAM5UKY6JsRdqNFnd0yA4To6N3dQHDtTgxadAg9O6LnfLdCBROTJ0\n1CqLJfbfumus8QwEfJgnDnCgQ32yKMTU/rZkVbWe5kN1DgSiHK4Ka21heEzN\n2HVkKGBWijCkCCAF49nywdcocSWA/FZZkwUhmpqa8JM2471W/F/BN7T2hxZ+\nsbQfE/D1vyRu4LLQvBrciGDhsK6Ls7SNJC3Z98Z4H37muiNMyrWHV+ZdLTWS\nlHti5xOZRUGkYuj8kQ51qj9ktDgiyiuAXMfG472DWgzYXa12qPaXwWgKh4d+\njE7JKo+yq0N+FcPw+d2T8gThSmyRALHppgs8cG08o5A7AOc9RQSmHBkLLK4E\nRSKejYOflqRQn+YecLxit/mxEKWBs2kXwECFFQwMXCkyFkuxDJiRQdagJ1Ue\ntVVy\r\n=8eHg\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/md5-hex_3.0.1_1562865516804_0.14543556697398974" }, "_hasShrinkwrap": false } }, "readme": "# md5-hex [![Build Status](https://travis-ci.org/sindresorhus/md5-hex.svg?branch=master)](https://travis-ci.org/sindresorhus/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\n## Install\n\n```\n$ npm install md5-hex\n```\n\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst md5Hex = require('md5-hex');\n\nconst buffer = fs.readFileSync('unicorn.png');\n\nmd5Hex(buffer);\n//=> '1abcb33beeb811dca15f0ac3e47b88d9'\n```\n\n\n## API\n\n### md5Hex(data)\n\n#### data\n\nType: `Buffer | string | Array`\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\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", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "time": { "modified": "2019-07-11T17:18:41.458Z", "created": "2015-05-23T16:56:56.273Z", "1.0.0": "2015-05-23T16:56:56.273Z", "1.0.1": "2015-05-23T17:13:21.209Z", "1.0.2": "2015-06-04T20:30:23.576Z", "1.1.0": "2015-09-22T06:26:36.221Z", "1.2.0": "2015-12-24T13:18:54.160Z", "1.2.1": "2016-01-13T18:43:59.000Z", "1.3.0": "2016-04-12T14:26:37.187Z", "2.0.0": "2017-01-13T12:29:44.424Z", "3.0.0": "2019-05-04T10:49:46.981Z", "3.0.1": "2019-07-11T17:18:37.451Z" }, "homepage": "https://github.com/sindresorhus/md5-hex#readme", "keywords": [ "hash", "crypto", "md5", "hex", "buffer", "browser" ], "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/md5-hex.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/md5-hex/issues" }, "license": "MIT", "readmeFilename": "readme.md" }