{"_id":"crypto-hash","_rev":"15-cb2fa89b7bb7b090b303ac91b612fb7c","name":"crypto-hash","dist-tags":{"latest":"4.0.1"},"versions":{"0.1.0":{"name":"crypto-hash","version":"0.1.0","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@0.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"dist":{"shasum":"98651f63d24fc52bc2129f6be33a3e9b860e2cd5","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-0.1.0.tgz","fileCount":5,"integrity":"sha512-Ja2zFqujqKLsr5G+g3BeyTY9whJmbtdGFkgXjTOqUj9BWhdYGuQyi5F0EqPVh5/Dqit5oEMUTl6gmMbhn1j5pQ==","signatures":[{"sig":"MEYCIQCTVMSwn86TaPSSJuRxYpVOcz2m5ZD64HaAo1TYK9x2TgIhAI6O+MSihHxsndwSG9d7eDgDNz1StRVpLfLMSn+SCeYn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5015},"files":["index.js","browser.js"],"browser":"browser.js","engines":{"node":">=8"},"gitHead":"cf7169d26397c215f17f7ac3467187455be3ed07","scripts":{"test":"xo && ava test.js && karmatic test-browser.js"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"5.6.0","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"8.9.4","_hasShrinkwrap":false,"devDependencies":{"xo":"*","ava":"*","hash.js":"^1.1.3","karmatic":"^1.0.6","@sindresorhus/is":"^0.7.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_0.1.0_1520443889208_0.24843303252529347","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"crypto-hash","version":"1.0.0","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@1.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"dist":{"shasum":"cb141377ceb1606c3737086e59bbc4921a3c3358","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-1.0.0.tgz","fileCount":5,"integrity":"sha512-Vyo9O4fVGuhyBSfIkPZT7B0qWR+X958agPSCnptmd7MYhVT1eGzUe7kKnWOzwrGDaLCR8pyL80AqH3En2dKKAg==","signatures":[{"sig":"MEYCIQDImJB2W5PKK6D3eb8eycertkt6fHD+EPsF6lKNoEJzVgIhAIvqRz4XmzclCdf+rocGyX3svRSkAuDiaDbqNnQUH5e+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5Ha3CRA9TVsSAnZWagAALuwQAIa0Jj2lZwYLyfskG1Zd\ng52KowyTxKPPKekEayBUe2D/NYtP4R1IBatdqncY3rzGCTDjTUd2k3N21LB2\n8Dq8VE4IC//p8dvAAPzJEFd/lf9RU/o2mJV3B/8Mhv0/qmXhqmLM2iLXp2eV\nKo/4MMbHBEfijZ6t1G5Pu7RrIhJWridzVMql9VLUzwZublhlXVjuIV5CjAUl\nzqkfmzORlV71bRd2OYMMokmEonlNZYq5G5cv5uN+k40WtN01zQWqJH1VwYnk\nNKiA1pe53ZUo8mfHKvUCDalyevObHH0QNvVQVsRUqEpPNYB3toVQe1Q7N0d/\n8BUWYvQQanIzAqgV2918cPlBdyr2OMGPXGOfKc0Mtdgj/F9Dbewp+gQAJN4A\nay1WbQAolqrIMfEcl2prgPBwibgl9DDY1u1G+/LMGRujKyuASszZHY9z1fSE\n2Np1wv0qQONNtxKSvGCAxn2wYnoDoSlf2yoxOI6VBmUluUbzs6aq0tYuQjJN\njis6oDOuh5wbMfvsRn+ERrZG/EOYo9mWHOebi9iMTJ/SXLE3mZXm+FLwZLop\n6U7i4oLC77zJ2hYi312PBpOApmZPgC0yjsBTXOdgIpogr4oHaXYyGu06ju6n\nQpLUgyj0JgeobmAeGi8NTFUg7/i1VZj1hIzuupKpv2cu7hcUpO6QXpPdcdrT\nsCtS\r\n=yO0a\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","engines":{"node":">=8"},"gitHead":"ee1e238391fadec94e0e4ba5cc043bcd1ad2f5e6","scripts":{"test":"xo && ava test.js && karmatic test-browser.js"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"6.4.1","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"8.12.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.23.0","ava":"^0.25.0","hash.js":"^1.1.5","karmatic":"1.0.6","@sindresorhus/is":"^0.13.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_1.0.0_1541699254729_0.0316782670657898","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"crypto-hash","version":"1.1.0","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@1.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"dist":{"shasum":"9d85c3947ded64763721f8054e42834ecce68c8d","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-1.1.0.tgz","fileCount":6,"integrity":"sha512-5DWmfCxQZHWocCpkOXVFmfYj7v5vZXF3ZNzMeyyJ6OzGfDTEEOm2CWA8KzZ578eA7j5VPCLOdGjOU8sGgi8BYw==","signatures":[{"sig":"MEUCIQCXSj0dcm/Js7iDlNZiwBRTL+IwsHfRrxJiU7tZEKEgWQIgTESY0yA7gyMTJwCYTL3fB7zDZ08ow9J3fYOq5XOaCKc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrPdUCRA9TVsSAnZWagAAzN4P/341pHAGf7hsT/QyxR66\nn91gyXvTcMgucTsYN8VOZb+AioPhmMxEyUsHH33z7jhZaQV+mOotJbJJFUQa\nLQzQvkwQ5kp+cJTw6a3IrcmOiUOh9sbQBDhx4L1s+uE3UIPq63NiaetdY4v9\n8+wN1jlJUE2s/sqJ/IspdcVkxj28cR8g/U5QSsIiEA38b4oTA9bR6o3Urx9X\n+iC28lKBQWbZS4o7j4L2DaPTncDBbWoBr0ccuyJ+bdnYWff5lLyRLMzNWF02\nMhgOH+VYSQo4ktW1VlLSdZ4+GxvnoQ6xJ7g3qaqO3HCznMckjw7NdC1VU6AA\n8StYxOZQ5vFiSuQAOvbPNWPvW3J6Bkz4Jq+xyCKEc5rGiJugkw2jyrf3NH8f\n1EqHZZv8339pU7UcOi5mhcRPz8FP+Ja+AvV5GAjgvEEp34iRyIaKrH0NMmsE\nu5xzMYc13RV+WSp/ysm7j15gUnTMuIQsYvqhsXGkprlLJNarEhHi+DS7lHi8\ne9gpfAXEdmjyPB5t6VMkGOZs4Zpxsj8hSM95nw/+dw2HldcZ/XXl9qdRfdGS\nWVYda4JJe35igmMA/QG+U060J897HPTES68tAyq1QiNS1LfHMFNOTX5G98+p\n2VonQdTczXtE9QkzC8UjR/bEwybA85XIUkWZUFxuP8LUd1mZSN6CocW5S949\nr7Tj\r\n=1xqN\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","engines":{"node":">=8"},"gitHead":"926223f87dcf01dd48cdcba1f16a280f13012351","scripts":{"test":"xo && ava test.js && karmatic test-browser.js && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"6.4.1","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"10.15.1","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2","hash.js":"^1.1.5","karmatic":"1.0.7","@sindresorhus/is":"^0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_1.1.0_1554839379221_0.3126910225045041","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"crypto-hash","version":"1.2.0","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@1.2.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"xo":{"rules":{"import/no-unresolved":"off"}},"dist":{"shasum":"904acc24074ab653de752e54e1206a2a5f11aab4","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-1.2.0.tgz","fileCount":7,"integrity":"sha512-l7dKGrtLAkYxKPizXsHA9f+25K3nLxFfqLVBGL6Dg2u4hqya0TF7WBwNfwmfDYdw/KSj90nTf6ACi2ZFow8UvQ==","signatures":[{"sig":"MEUCIQCVC+vATR8NnO/t5DwJ42Yd1vs0Rpimxiph4NwUhemUlQIgK2+wx7idbik8OQmsJ6hRMKY7QHUCAyDn+Urv3lP1HoU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcy+o8CRA9TVsSAnZWagAAPUMP/RERyeSteAsSazGam8Jl\nj5K5D16ycm/rmRskdWhENVyP0ZWvBfVTkF/fDf4N0TIei7mW27OeSllr+8My\nD6NaCKLxKRKWxgTQCUrxYbm96eVoRPZCkMytUkdQ/egkw1wauWg62hSreAOv\naDIfC3d3+/5tPghyktnodjPydYMXgETOGnByluPC45Es7tP0Tx2oO5BpYDLI\njWHwULYXLdD5q6TH2u4zYdM+hHBcvhjH8o7TPvglmrQZXtyH8fUcdtWDalmc\nL9SMywEqxGt5/x34YpkmIDJX2g3xyghkC9c0nolaXv59uoLMW1/9042ZJt20\njeTZ44U56J3VofctLADCWmE71oecOCkJNd/FFyZBHnpCYuJLz+833cgNPqXj\nZPnnFzBPUNffgqQzql29asauVKXrPvtc0s2s5GDS2pf1bevXDcc11FvhYUxB\nFgGce1KbvO5k1eQrChDk9gl+USUJ9FIZLqc9YODCMWz1n/4+yTjZQukB1Uid\nMcoqsmFyZ4GbL4BaCrLPqxmSYUpKfx3p4sSjFbr6pygPv3kGpa52vMDiLu22\nW331LnNthJVlxiAHNTW2R3klS++/MQNTKBIxmLPokNlLw5ZBLB6MX6vtun4r\nOCGnbjUurvCX002zJjDndPhniCB0NAmzrWyu61SU3eLgVgVF0MTdnMjwYV8a\nqjQ6\r\n=Ci9H\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","engines":{"node":">=8"},"gitHead":"fc519ea9ca9660e6d7ee3c762c24719f348bf925","scripts":{"test":"xo && ava test.js && karmatic test-browser.js && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"6.9.0","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"8.16.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2","hash.js":"^1.1.5","karmatic":"1.0.7","@sindresorhus/is":"^0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_1.2.0_1556867643464_0.4432402832226292","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"crypto-hash","version":"1.2.1","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@1.2.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"xo":{"rules":{"import/no-unresolved":"off"}},"dist":{"shasum":"b7fbca0c9d749b8ae8f3ea44dd66eb11f3554165","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-1.2.1.tgz","fileCount":7,"integrity":"sha512-UjisXrC1Xs0YTXc6V7Ypd8IzdbpsowPVgJq/2w478LEA6xx9+4RpcwirELUBP7AxivQOn30/KeEraY2tGy0EQw==","signatures":[{"sig":"MEUCIQDD+tYDSBaffC/EvRMDpZwAgVZ1kEmkjqBLZrUYLX7pHwIgLDSlNNNICEi6f/eebfSERbUWU0mL82DQ6llHzkoQQMc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4YRgCRA9TVsSAnZWagAATq4P/RzGWmvpqMZ42OPCCdbv\nL+2zb5Oagiw/rwcq1b1q/v8Hq5vNhQVVo0mLCFfWJYe0v9IZgyewuvwubGOa\ns69LsiXojHqzMWCrL/xm9q47qQCW8y/pX3ZtJCZwwEqFqDbAVJn8LUGNNhJx\ncNtcRJNXxzMgxpSv5d6oMGn2A9FYS3c6vZ+Hs7qF8dsvu57d9JNTqkR+2/uk\no8VQ1MzqyHBcp7IUwE+6UV6sxJwzeZm9JJq85JWq1Bb5gBdTmGnWHDA7rFGf\nvqwqO4bHcgwD7npSQuvRN8twL1W5A7loH+RarY9W7RKuFbbq7MlcoeQ6Ei6u\nJz2YX8kmLdT27apGncJbUaF5z4YxDeDL1n/sPXpG5XQAI7lS0Zin/CFQtnZz\nP+BqpZIASz4ZqXxuvDZsNdPb9hR4ia+F6T9d5l/R6VIYoU8HaGLYvZx3UExS\naHnqpLzhX4qTPM3eP6fekKyKNnqTuVU7cx7kWbrw9wwi6g+G1u0ONn7caD17\nZOQpohEtC33XTu1v0h9rjbipd8R7BPP3kliEVPypw2dF8uKa+yuGf2tQcWmC\ny8men+ivIUjSzB0RLvhTS4/sU+Ghg0LrT0qVXhRVSPXI9wY1gsOAOhzYb2s9\nFhPgwWzgRKt/ujUyuDkiozG/mRDjYBsx5l1rxlMM2r/Q0W18yO8nLT+kr7z4\nq7y5\r\n=S0k9\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","engines":{"node":">=8"},"gitHead":"70b67c81e46b966e09f5cdfc0daca9a830178538","scripts":{"test":"xo && ava test.js && karmatic test-browser.js && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"6.9.0","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"8.16.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2","hash.js":"^1.1.5","karmatic":"1.0.7","@sindresorhus/is":"^0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_1.2.1_1558283359383_0.15425359048044762","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"crypto-hash","version":"1.2.2","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@1.2.2","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"xo":{"rules":{"import/no-unresolved":"off"}},"dist":{"shasum":"7ccdbae8a89907d3774f9c7769798b9d3af2cc4d","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-1.2.2.tgz","fileCount":7,"integrity":"sha512-rXXMXepuKg9gIfqE7I1jtVa6saLhzIkDQ2u3kTGUWYiUGsHcUa3LTsfrjPEdOY8kxKlryQtsOmJOU0F23yRJTg==","signatures":[{"sig":"MEQCIHYBpBua9Gb8D+p46iPcdN75t/heTqYjiET+HO6iufL4AiA371Z46hmu2GbIBrwa6bHe9cULSkfAw6LKNeE9g+IYOQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJvM5CRA9TVsSAnZWagAAnpUP/jvysFljCxvQoyltSNTR\n9lNi1qgf3s5EjF2/7Y4GyVoLQYU6EKG1WMM2d0EU652TWa1jO9map06BZIyO\najO26DkrQpgpZe5E9VtTICaHgllicPpiS1Aj/OEonBsb9TyDcdSTjhu2hBrT\nq1jgaPLRUYuCvjEbA4QdJMime4XSb6fiY2Xnc/YyEJMv2DfIgElLDsGfyVb7\nOaIeDJ+GYobn1gC73RCU3SiIfzBG8SciY9JEgeW7573A9q/RZJESQupotoxG\nR7cZLJ39LBpOXiQM9uvvtaoRwlhG3tO2VA7fd6825jjMiPdWt8VA1W8DLz60\nb6SCoVPXoJ8Q8DlFewn2oe7GDN5RaGeI4kKhNfA6mh+7fVZFQY5VzBueBxCQ\ngUDmnCHKETR73k95UzpLR7Dvhc4tZ+Q3JQCcEh4WfG/jjkzRXJ0qa3TB07j1\ncR3TN+keVfWFqbTulaqzS4L3M/BFzAz8C4ucpzqzMKT55j4PySuisAiCIQvF\nE+vPIqH+vLc7Yw/vbVMbvamJtREPb5k2mjk9ug1exeplThyu2tsKEpiIscph\nABFnwxXVTdrD0UNsNI0tIZezuYO0NlNsPRZ4yP2K8C3iUYcliToDGHnp0xEQ\nv4bxvuMhcbOUCHKW07JzBDu/nbAxNZZVot8KACE0nEjfkOQoJ48XUH8p9XFN\n2dAL\r\n=RLQM\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","engines":{"node":">=8"},"gitHead":"57ce6aa649be7cff6cc551deba6e0a00ed0019c3","scripts":{"test":"xo && ava test.js && karmatic test-browser.js && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"6.9.0","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2","hash.js":"^1.1.5","karmatic":"1.0.7","@sindresorhus/is":"^0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_1.2.2_1562833720810_0.578402970781388","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"crypto-hash","version":"1.3.0","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@1.3.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"xo":{"rules":{"import/no-unresolved":"off"}},"dist":{"shasum":"b402cb08f4529e9f4f09346c3e275942f845e247","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-1.3.0.tgz","fileCount":7,"integrity":"sha512-lyAZ0EMyjDkVvz8WOeVnuCPvKVBXcMv1l5SVqO1yC7PzTwrD/pPje/BIRbWhMoPe436U+Y2nD7f5bFx0kt+Sbg==","signatures":[{"sig":"MEUCIQDojy4YCRgfVFHmlOyKEazCrqbj+JrfAatWohBKrWpbGgIgYoczbpAVxdIbLuzq2EwOtBmM2qULh3yiUrS51ZzMlXQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfM+mACRA9TVsSAnZWagAA+H8QAI4ScvZxOWc0CPugMVNC\naZZUogRTTO3BmsHYflAOogvwwsGAn/HPmBA1tnOArDF9bG9kIy1PPCqjUJzI\niiMNFNPhRyIh3tRlwZW8rt6c/Pb7aJcRQVO48n+hzx8bNYSU/Fs5tj4B16rJ\nFZ51wXVUazmoD/ZdGTUkzA4wZfY48m2PqQp+vCqq2lzpEeFI7N3hAHX5y50A\n6R0ho9GqPr50VM46AfdnNZyegGv6ChGbfC5CVOpPCup/kFu4wL7eryoF1L+a\nNxKUCdhmc1hBv0JTUuTH50B3AlNXoNOsUMc0RB8LkdzoTxL3Vp73gfvg1HJp\nVo8KpEiKvH515OBZglRVX6yIBftzhDIWY5oARgqlsnaV5qPJnhNWBlLZDnds\nINlUTdqmuT2qauOHhyKerPFXC6iiVnc5udFZC1ioEnLIU37yll/dARtWtB7+\n1/6hkB3PxT4G+DynHWnqTGYRKe4GpfiTVnbGziFhukWHz0Sg+E7CUBYYWjRU\nGgG1sHw9sPAYKtxYtT35BKPqtIwiSDniLXrWCD8ZrraB80KVRz1Oj+9hvXAP\np46Cq/L33qHTQT+OWsXYS+OWlkmCFl1Qafxfzd7CfFR2f5dR+tl4Ya4IWTRW\n8RyZBLaOcr9fIwy4nplOO9GUdCo3mV2pw5XGLJJKmG72MNA9aWh9jNhH4sXq\ni9eA\r\n=WAvx\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","engines":{"node":">=8"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"6daa51e92d20a709494237cf51ac944efcc516c6","scripts":{"test":"xo && ava test.js && karmatic test-browser.js && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"6.14.7","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"14.5.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2","hash.js":"^1.1.5","karmatic":"1.0.7","@sindresorhus/is":"^0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_1.3.0_1597237631787_0.748331260715555","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"crypto-hash","version":"2.0.0","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@2.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"dist":{"shasum":"5cd5ac64c8504ad30e4ba03aacbd283b6160945c","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-2.0.0.tgz","fileCount":7,"integrity":"sha512-uua9EnThQk7vkDCm6Ltab/7QR6XzPiV2bSdLdvbwdZKb4lot94kHkherQt6uw1hNntXjDA7lNHj2vFm1JaYt0g==","signatures":[{"sig":"MEQCICryCd6q7uD02ge3j8MDx98P5DcIkytXpG7I4AtnAO+FAiB5Yw7mh4lJEAg6hYRBqOC/0rhEalqE6oFC1+pOs4s0WQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9575},"type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":{"node":"./index.js","default":"./browser.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"fbc067f3559f4bf8ac67b2c8355ff7e0102b68c4","scripts":{"test":"xo && ava test.js && karmatic test-browser.js && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"7.20.3","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"14.17.5","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.45.0","ava":"^3.15.0","tsd":"^0.18.0","hash.js":"^1.1.7","karmatic":"2.1.0","@sindresorhus/is":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_2.0.0_1634192571714_0.5303370369784173","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"crypto-hash","version":"2.0.1","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@2.0.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"dist":{"shasum":"46c3732e65a078ea06b8b4ae686db41216f81213","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-2.0.1.tgz","fileCount":8,"integrity":"sha512-t4mkp7Vh6MuCZRBf0XLzBOfhkH3nW6YEAotMDSjshVQ1GffCMGdPLSr7pKH0rdXY02jTjAZ7QW2apD0buaZXcQ==","signatures":[{"sig":"MEYCIQCZm7v/N6zZjBHXv6FCuUKaAcPHaM1y9cQOgkntuXdBIQIhAPVEHzs8wiDIzL9wbz8pmcOTgAXL3onyVADx7O86K/bP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqNY4CRA9TVsSAnZWagAAaPwP/AjGq0RXsGFZt3gOIZwH\nJn2FcHyPMJFZMlHqL8GyM+DrE0GwPL20+9L4rH+CqbKxOgpjzJazYz4zody7\nFXD8A74U46NClTSF3cxNmN83VTVAVBRGh+luTcH04Vi3ZSn8n1/RY+6atWAC\nhUbVKN1RRzj/D2x/z7HJrunNCa5hEunqJ3UhJDtyepDsMehxxqggUIUsK/Ds\nMC3eZk4Q0sYleexSQoVw+XRhSN1DWz3Vvbkv7tiEH3BuS38aXs8TR5EpeE7s\njPQVbXqwtoct9xDRVo93/4WjMZkuB0mKfeY02TRQy6nTFrN8m6bH5fyGdC3B\nFSE7dfe42jRGxlq2knGkvsxHtapIry4+Rwyc9Qzu2IjH/FPA/gnzLora7zkj\nBfuU83CYYRgAKnXPuwcROTpQUYLh0EmqU08pvhzGoM8ZSPE2u1Ed46To5kFO\n/vzUbRn3iHuNyRPAv6QdSh+AKiV36NW+OZS7eSVx3CaqvJpk9UiVNO/k4qy/\nIx3TYVkdF7SfERJGybxHUqIJ0nWZm1017lpw/7zmuwhtH88w+VpEHR4zTNYE\n8MbyOa5SyInRt12yqZMG9LXu8YxoItCWGAV7n4iml6ewx6idzSl3eQ3KYsf6\n/6BunFB9au3eaidPLcSPYPjvh6cj2HySwZ5nKXi0R+ecfcWbNRePubpVTcyW\nJbr9\r\n=QwWP\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":{"node":"./index.js","default":"./browser.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"fbca8a21ce5a672ae3b55cc33ca30661f99c0cbe","scripts":{"test":"xo && ava test.js && karmatic test-browser.js && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"8.1.0","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"12.22.1","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.45.0","ava":"^3.15.0","tsd":"^0.18.0","hash.js":"^1.1.7","karmatic":"2.1.0","@sindresorhus/is":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_2.0.1_1638454839874_0.8705240665803382","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"crypto-hash","version":"3.0.0","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@3.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"dist":{"shasum":"1f217b7134c5e05adc013d1edce67c64fa459f7f","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-3.0.0.tgz","fileCount":7,"integrity":"sha512-5l5xGtzuvGTU28GXxGV1JYVFou68buZWpkV1Fx5hIDRPnfbQ8KzabTlNIuDIeSCYGVPFehupzDqlnbXm2IXmdQ==","signatures":[{"sig":"MEYCIQCzMQOCN6XuqySW4+oqXcbpKVumBy3bw2nWJX5gr1ObQgIhAKZUzEo4ecgDbcSFOJrzsK8EiWKPBsPyFppibeSx4OJV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9628},"type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{"node":"./index.js","types":"./index.d.ts","default":"./browser.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"5d1dad02a451bf57696f15799644c60408194d1f","scripts":{"test":"xo && ava test.js && tsd","//test":"xo && ava test.js && karmatic test-browser.js && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"9.2.0","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.56.0","ava":"^5.3.1","tsd":"^0.29.0","hash.js":"^1.1.7","@sindresorhus/is":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_3.0.0_1698003027861_0.7075817707630645","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"crypto-hash","version":"3.1.0","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@3.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"dist":{"shasum":"8be4497e1feee8e75dfc545aa5348fb11ae167c5","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-3.1.0.tgz","fileCount":8,"integrity":"sha512-HR8JlZ+Dn54Lc5gGWZJxJitWbOCUzWb9/AlyONGecBnYZ+n/ONvt0gQnEzDNpJMYeRrYO7KogQ4qwyTPKnWKEw==","signatures":[{"sig":"MEUCIGj17iezlzqnVp7G3h2Rir3f+9I4GI/qn2KH9Fde5aj3AiEA4wKW/hOgD+mB499tBZdMnp7WbDF6S9xbMI02KlXtyXU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9201},"type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{"node":"./index.js","types":"./index.d.ts","default":"./browser.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"3f2e73e8427a7fecd1bd81cad18d4cc159463175","scripts":{"test":"xo && ava test.js && tsd","//test":"xo && ava test.js && karmatic test-browser.js && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"10.6.0","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.2","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.59.2","ava":"^6.1.3","tsd":"^0.31.1","hash.js":"^1.1.7","@sindresorhus/is":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_3.1.0_1722254803039_0.5761245415251448","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"crypto-hash","version":"4.0.0","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"crypto-hash@4.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/crypto-hash#readme","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"dist":{"shasum":"c58a8737560980714fa086113de3b8f577b72178","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-4.0.0.tgz","fileCount":8,"integrity":"sha512-KkkFriWj2teXIJOmftIRavBL4q8A7EZV24Nn9sWhIR4hdeS8u+q2A2p0tWZ1m4xVoP1zs3VJjVwwAUnztBb8uw==","signatures":[{"sig":"MEYCIQCPJ4Ww5e3XNbVKUakLk0TRNc8DdOe8PNA9RoxH7TZNkAIhANS4BzOlZNunAGEEGy1QKRikdsoDegkw9YHKYozpxF8A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12215},"type":"module","types":"./index.d.ts","engines":{"node":">=20"},"exports":{"node":"./index.js","types":"./index.d.ts","default":"./browser.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"f64142dec45d6e271bb3cde9e712805eba83c997","scripts":{"test":"npm run test:node && npm run test:browser","test:node":"xo && ava test.js","test:browser":"npx playwright install chromium && npx playwright test"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/crypto-hash.git","type":"git"},"_npmVersion":"10.9.2","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.59.0","ava":"^6.4.1","serve":"^14.2.5","hash.js":"^1.1.7","@playwright/test":"^1.55.0","@sindresorhus/is":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/crypto-hash_4.0.0_1757619649726_0.8365872644232266","host":"s3://npm-registry-packages-npm-production"}},"4.0.1":{"name":"crypto-hash","version":"4.0.1","description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/crypto-hash.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","node":"./index.js","default":"./browser.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test:node":"xo && ava test.js","test:browser":"npx playwright install chromium && npx playwright test","test":"npm run test:node && npm run test:browser"},"keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"devDependencies":{"@playwright/test":"^1.55.0","@sindresorhus/is":"^7.0.2","ava":"^6.4.1","hash.js":"^1.1.7","serve":"^14.2.5","xo":"^0.59.0"},"gitHead":"b84eed4ecaaf5c895acbb336c9a1ef475bcb3250","types":"./index.d.ts","_id":"crypto-hash@4.0.1","bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"homepage":"https://github.com/sindresorhus/crypto-hash#readme","_nodeVersion":"20.19.5","_npmVersion":"11.6.1","dist":{"integrity":"sha512-4u4yl+8C+75Xedf1uMA0J/TTYAqJ54XdyBc1RV3UjCkU2wQjFMsB5ScjRDh3oo21zAwSprcVEDolaGDT8z5G6g==","shasum":"c453edb056cd73cb9312a7ac84dba88615ee2211","tarball":"https://registry.npmjs.org/crypto-hash/-/crypto-hash-4.0.1.tgz","fileCount":8,"unpackedSize":12375,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC/Vb4OWU27mYhIfzDrljoNLpxFa79laWDqQhC81JTBvgIgQnXbDvzPhYG8tGzHt/wMo8JbeoQIPI57/wfHT5Oofkw="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/crypto-hash_4.0.1_1765376367689_0.7456115605958289"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-07T17:31:29.208Z","modified":"2025-12-10T14:19:27.995Z","0.1.0":"2018-03-07T17:31:29.262Z","1.0.0":"2018-11-08T17:47:34.869Z","1.1.0":"2019-04-09T19:49:39.344Z","1.2.0":"2019-05-03T07:14:03.604Z","1.2.1":"2019-05-19T16:29:19.484Z","1.2.2":"2019-07-11T08:28:40.923Z","1.3.0":"2020-08-12T13:07:11.939Z","2.0.0":"2021-10-14T06:22:51.969Z","2.0.1":"2021-12-02T14:20:40.049Z","3.0.0":"2023-10-22T19:30:28.086Z","3.1.0":"2024-07-29T12:06:43.218Z","4.0.0":"2025-09-11T19:40:49.911Z","4.0.1":"2025-12-10T14:19:27.825Z"},"bugs":{"url":"https://github.com/sindresorhus/crypto-hash/issues"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","homepage":"https://github.com/sindresorhus/crypto-hash#readme","keywords":["crypto","hash","isomorphic","hashing","hasher","cryptography","sha1","sha256","sha384","sha512","browser"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/crypto-hash.git"},"description":"Tiny hashing module that uses the native crypto API in Node.js and the browser","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"readme":"# crypto-hash\n\n> Tiny hashing module that uses the native crypto API in Node.js and the browser\n\nUseful when you want the same hashing API in all environments. My cat calls it *isomorphic*.\n\nIn Node.js it uses [`node:crypto`](https://nodejs.org/api/crypto.html#crypto_class_hash), while in the browser it uses [`window.crypto`](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest).\n\nThe browser version is only ~300 bytes minified & gzipped.\n\nWhen used in the browser, it must be in a [secure context (HTTPS)](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle).\n\nThis package is for modern browsers. Internet Explorer is not supported.\n\n## Install\n\n```sh\nnpm install crypto-hash\n```\n\n## Usage\n\n```js\nimport {sha256} from 'crypto-hash';\n\nconsole.log(await sha256('🦄'));\n//=> '36bf255468003165652fe978eaaa8898e191664028475f83f506dabd95298efc'\n```\n\n## API\n\n### sha1(input, options?)\n### sha256(input, options?)\n### sha384(input, options?)\n### sha512(input, options?)\n\nReturns a `Promise<string>` with a Hex-encoded hash.\n\n*In Node.js, the operation is executed using [`worker_threads`](https://nodejs.org/api/worker_threads.html). A thread is lazily spawned on the first operation and lives until the end of the program execution. It's `unref`ed, so it won't keep the process alive.*\n\n[SHA-1 is insecure](https://stackoverflow.com/a/38045085/64949) and should not be used for anything sensitive.\n\n#### input\n\nType: `string` [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) [`ArrayBufferView`](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView)\n\n#### options\n\nType: `object`\n\n##### outputFormat\n\nType: `string`\\\nValues: `'hex' | 'buffer'`\\\nDefault: `'hex'`\n\nSetting this to `buffer` makes it return an `ArrayBuffer` instead of a `string`.\n\n## Related\n\n- [hasha](https://github.com/sindresorhus/hasha) - Hashing in Node.js made simple\n","readmeFilename":"readme.md"}