{"_id":"@aws-crypto/sha1-browser","_rev":"4053193","name":"@aws-crypto/sha1-browser","description":"SHA1 wrapper for browsers that prefers `window.crypto.subtle`.","dist-tags":{"latest":"5.2.0"},"maintainers":[{"name":"amzn-oss","email":"peddicor@amazon.com"},{"name":"aws-crypto-tools-ci-bot","email":""}],"time":{"modified":"2025-09-01T06:41:19.000Z","created":"2021-09-17T00:14:03.236Z","5.2.0":"2023-10-16T19:44:47.013Z","5.1.0":"2023-09-22T00:16:04.942Z","5.0.0":"2023-07-13T20:11:04.778Z","4.0.0":"2023-02-20T20:08:35.434Z","3.0.0":"2023-01-12T00:34:00.200Z","2.0.2":"2022-09-07T18:25:48.235Z","2.0.0":"2021-10-25T19:03:34.386Z","1.2.0":"2021-09-17T00:14:03.236Z"},"users":{},"author":{"name":"AWS Crypto Tools Team","email":"aws-cryptools@amazon.com","url":"https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"},"repository":{"type":"git","url":"git+ssh://git@github.com/aws/aws-sdk-js-crypto-helpers.git"},"versions":{"5.2.0":{"name":"@aws-crypto/sha1-browser","version":"5.2.0","scripts":{"prepublishOnly":"tsc -p tsconfig.json && tsc -p tsconfig.module.json","pretest":"tsc -p tsconfig.test.json","test":"mocha --require ts-node/register test/**/*test.ts"},"repository":{"type":"git","url":"git+ssh://git@github.com/aws/aws-sdk-js-crypto-helpers.git"},"author":{"name":"AWS Crypto Tools Team","email":"aws-cryptools@amazon.com","url":"https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"},"homepage":"https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha1-browser","license":"Apache-2.0","dependencies":{"@aws-crypto/supports-web-crypto":"^5.2.0","@aws-crypto/util":"^5.2.0","@aws-sdk/types":"^3.222.0","@aws-sdk/util-locate-window":"^3.0.0","@smithy/util-utf8":"^2.0.0","tslib":"^2.6.2"},"main":"./build/main/index.js","module":"./build/module/index.js","types":"./build/main/index.d.ts","publishConfig":{"access":"public"},"gitHead":"c11b171b35ec5c093364f0e0d8dc4ab1af68e748","description":"SHA1 wrapper for browsers that prefers `window.crypto.subtle`.","bugs":{"url":"https://github.com/aws/aws-sdk-js-crypto-helpers/issues"},"_id":"@aws-crypto/sha1-browser@5.2.0","_nodeVersion":"16.20.1","_npmVersion":"lerna/5.6.2/node@v16.20.1+x64 (linux)","dist":{"shasum":"b0ee2d2821d3861f017e965ef3b4cb38e3b6a0f4","size":10701,"noattachment":false,"key":"/@aws-crypto/sha1-browser/-/@aws-crypto/sha1-browser-5.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@aws-crypto/sha1-browser/download/@aws-crypto/sha1-browser-5.2.0.tgz"},"_npmUser":{"name":"aws-crypto-tools-ci-bot","email":"aws-cryptools+github-ci-bot@amazon.com"},"directories":{},"maintainers":[{"name":"amzn-oss","email":"peddicor@amazon.com"},{"name":"aws-crypto-tools-ci-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sha1-browser_5.2.0_1697485486836_0.7914680659364579"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-16T19:44:47.013Z","publish_time":1697485487013,"_source_registry_name":"default","_cnpm_publish_time":1697485487013},"5.1.0":{"name":"@aws-crypto/sha1-browser","version":"5.1.0","scripts":{"prepublishOnly":"tsc","pretest":"tsc -p tsconfig.test.json","test":"mocha --require ts-node/register test/**/*test.ts"},"repository":{"type":"git","url":"git+ssh://git@github.com/aws/aws-sdk-js-crypto-helpers.git"},"author":{"name":"AWS Crypto Tools Team","email":"aws-cryptools@amazon.com","url":"https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"},"homepage":"https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha1-browser","license":"Apache-2.0","dependencies":{"@aws-crypto/supports-web-crypto":"^5.1.0","@aws-crypto/util":"^5.1.0","@aws-sdk/types":"^3.222.0","@aws-sdk/util-locate-window":"^3.0.0","@smithy/util-utf8":"^2.0.0","tslib":"^2.6.2"},"main":"./build/index.js","types":"./build/index.d.ts","publishConfig":{"access":"public"},"gitHead":"77bc5fbd1e94abbd8b990b2e6444785b4e97b188","description":"SHA1 wrapper for browsers that prefers `window.crypto.subtle`.","bugs":{"url":"https://github.com/aws/aws-sdk-js-crypto-helpers/issues"},"_id":"@aws-crypto/sha1-browser@5.1.0","_nodeVersion":"16.20.1","_npmVersion":"lerna/5.6.2/node@v16.20.1+x64 (linux)","dist":{"shasum":"25dbe65892aba587672fe074e18e85d205d19f4d","size":9525,"noattachment":false,"key":"/@aws-crypto/sha1-browser/-/@aws-crypto/sha1-browser-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@aws-crypto/sha1-browser/download/@aws-crypto/sha1-browser-5.1.0.tgz"},"_npmUser":{"name":"aws-crypto-tools-ci-bot","email":"aws-cryptools+github-ci-bot@amazon.com"},"directories":{},"maintainers":[{"name":"amzn-oss","email":"peddicor@amazon.com"},{"name":"aws-crypto-tools-ci-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sha1-browser_5.1.0_1695341764714_0.17690937723231936"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-22T00:16:04.942Z","publish_time":1695341764942,"_source_registry_name":"default","_cnpm_publish_time":1695341764942},"5.0.0":{"name":"@aws-crypto/sha1-browser","version":"5.0.0","scripts":{"prepublishOnly":"tsc","pretest":"tsc -p tsconfig.test.json","test":"mocha --require ts-node/register test/**/*test.ts"},"repository":{"type":"git","url":"git+ssh://git@github.com/aws/aws-sdk-js-crypto-helpers.git"},"author":{"name":"AWS Crypto Tools Team","email":"aws-cryptools@amazon.com","url":"https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"},"homepage":"https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha1-browser","license":"Apache-2.0","dependencies":{"@aws-crypto/supports-web-crypto":"^5.0.0","@aws-crypto/util":"^5.0.0","@aws-sdk/types":"^3.222.0","@aws-sdk/util-locate-window":"^3.0.0","@aws-sdk/util-utf8-browser":"^3.0.0","tslib":"^1.11.1"},"main":"./build/index.js","types":"./build/index.d.ts","publishConfig":{"access":"public"},"gitHead":"c1531d07463954ad12658a1bcce361f2d0cb8225","description":"SHA1 wrapper for browsers that prefers `window.crypto.subtle`.","bugs":{"url":"https://github.com/aws/aws-sdk-js-crypto-helpers/issues"},"_id":"@aws-crypto/sha1-browser@5.0.0","_nodeVersion":"16.20.0","_npmVersion":"lerna/5.6.2/node@v16.20.0+x64 (linux)","dist":{"shasum":"dc0daf8150ab5468776a92acbc9e1f367e4fa385","size":9377,"noattachment":false,"key":"/@aws-crypto/sha1-browser/-/@aws-crypto/sha1-browser-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@aws-crypto/sha1-browser/download/@aws-crypto/sha1-browser-5.0.0.tgz"},"_npmUser":{"name":"aws-crypto-tools-ci-bot","email":"aws-cryptools+github-ci-bot@amazon.com"},"directories":{},"maintainers":[{"name":"amzn-oss","email":"peddicor@amazon.com"},{"name":"aws-crypto-tools-ci-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sha1-browser_5.0.0_1689279064573_0.9535621385483839"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-13T20:11:04.778Z","publish_time":1689279064778,"_source_registry_name":"default","_cnpm_publish_time":1689279064778},"4.0.0":{"name":"@aws-crypto/sha1-browser","version":"4.0.0","scripts":{"prepublishOnly":"tsc","pretest":"tsc -p tsconfig.test.json","test":"mocha --require ts-node/register test/**/*test.ts"},"repository":{"type":"git","url":"git+ssh://git@github.com/aws/aws-sdk-js-crypto-helpers.git"},"author":{"name":"AWS Crypto Tools Team","email":"aws-cryptools@amazon.com","url":"https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"},"homepage":"https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha1-browser","license":"Apache-2.0","dependencies":{"@aws-crypto/ie11-detection":"^4.0.0","@aws-crypto/supports-web-crypto":"^4.0.0","@aws-crypto/util":"^4.0.0","@aws-sdk/types":"^3.222.0","@aws-sdk/util-locate-window":"^3.0.0","@aws-sdk/util-utf8-browser":"^3.0.0","tslib":"^1.11.1"},"main":"./build/index.js","types":"./build/index.d.ts","publishConfig":{"access":"public"},"gitHead":"137e4190b67172548a71f632478da060a914fbfb","description":"SHA1 wrapper for browsers that prefers `window.crypto.subtle`.","bugs":{"url":"https://github.com/aws/aws-sdk-js-crypto-helpers/issues"},"_id":"@aws-crypto/sha1-browser@4.0.0","_nodeVersion":"14.19.3","_npmVersion":"lerna/5.6.2/node@v14.19.3+x64 (linux)","dist":{"shasum":"e0ecd531883d02872a9e62f03e3240e6058af826","size":10866,"noattachment":false,"key":"/@aws-crypto/sha1-browser/-/@aws-crypto/sha1-browser-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@aws-crypto/sha1-browser/download/@aws-crypto/sha1-browser-4.0.0.tgz"},"_npmUser":{"name":"aws-crypto-tools-ci-bot","email":"aws-cryptools+github-ci-bot@amazon.com"},"directories":{},"maintainers":[{"name":"amzn-oss","email":"peddicor@amazon.com"},{"name":"aws-crypto-tools-ci-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sha1-browser_4.0.0_1676923715190_0.644320351500447"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-20T20:08:35.434Z","publish_time":1676923715434,"_cnpm_publish_time":1676923715434},"3.0.0":{"name":"@aws-crypto/sha1-browser","version":"3.0.0","scripts":{"prepublishOnly":"tsc","pretest":"tsc -p tsconfig.test.json","test":"mocha --require ts-node/register test/**/*test.ts"},"repository":{"type":"git","url":"git+ssh://git@github.com/aws/aws-sdk-js-crypto-helpers.git"},"author":{"name":"AWS Crypto Tools Team","email":"aws-cryptools@amazon.com","url":"https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"},"homepage":"https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha1-browser","license":"Apache-2.0","dependencies":{"@aws-crypto/ie11-detection":"^3.0.0","@aws-crypto/supports-web-crypto":"^3.0.0","@aws-crypto/util":"^3.0.0","@aws-sdk/types":"^3.222.0","@aws-sdk/util-locate-window":"^3.0.0","@aws-sdk/util-utf8-browser":"^3.0.0","tslib":"^1.11.1"},"main":"./build/index.js","types":"./build/index.d.ts","publishConfig":{"access":"public"},"gitHead":"7f56cee8f62bd65cd397eeec29c3c997215bd80c","description":"SHA1 wrapper for browsers that prefers `window.crypto.subtle`.","bugs":{"url":"https://github.com/aws/aws-sdk-js-crypto-helpers/issues"},"_id":"@aws-crypto/sha1-browser@3.0.0","_nodeVersion":"12.22.12","_npmVersion":"lerna/5.6.1/node@v12.22.12+x64 (linux)","dist":{"shasum":"f9083c00782b24714f528b1a1fef2174002266a3","size":10839,"noattachment":false,"key":"/@aws-crypto/sha1-browser/-/@aws-crypto/sha1-browser-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@aws-crypto/sha1-browser/download/@aws-crypto/sha1-browser-3.0.0.tgz"},"_npmUser":{"name":"aws-crypto-tools-ci-bot","email":"aws-cryptools+github-ci-bot@amazon.com"},"directories":{},"maintainers":[{"name":"amzn-oss","email":"peddicor@amazon.com"},{"name":"aws-crypto-tools-ci-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sha1-browser_3.0.0_1673483640069_0.986888787359957"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-12T00:34:00.200Z","publish_time":1673483640200,"_cnpm_publish_time":1673483640200},"2.0.2":{"name":"@aws-crypto/sha1-browser","version":"2.0.2","scripts":{"prepublishOnly":"tsc","pretest":"tsc -p tsconfig.test.json","test":"mocha --require ts-node/register test/**/*test.ts"},"repository":{"type":"git","url":"git+ssh://git@github.com/aws/aws-sdk-js-crypto-helpers.git"},"author":{"name":"AWS Crypto Tools Team","email":"aws-cryptools@amazon.com","url":"https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"},"homepage":"https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha1-browser","license":"Apache-2.0","dependencies":{"@aws-crypto/ie11-detection":"^2.0.2","@aws-crypto/supports-web-crypto":"^2.0.2","@aws-sdk/types":"^3.110.0","@aws-sdk/util-locate-window":"^3.0.0","@aws-sdk/util-utf8-browser":"^3.0.0","tslib":"^1.11.1"},"main":"./build/index.js","types":"./build/index.d.ts","publishConfig":{"access":"public"},"gitHead":"5d1db32bb75010cbe38ff8dda9c560cdbb7ec578","description":"SHA1 wrapper for browsers that prefers `window.crypto.subtle`.","bugs":{"url":"https://github.com/aws/aws-sdk-js-crypto-helpers/issues"},"_id":"@aws-crypto/sha1-browser@2.0.2","_nodeVersion":"12.22.12","_npmVersion":"lerna/5.1.8/node@v12.22.12+x64 (linux)","dist":{"shasum":"f022e9b358db7c18227920f51149fb672088dca3","size":10440,"noattachment":false,"key":"/@aws-crypto/sha1-browser/-/@aws-crypto/sha1-browser-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@aws-crypto/sha1-browser/download/@aws-crypto/sha1-browser-2.0.2.tgz"},"_npmUser":{"name":"aws-crypto-tools-ci-bot","email":"aws-cryptools+github-ci-bot@amazon.com"},"directories":{},"maintainers":[{"name":"amzn-oss","email":"peddicor@amazon.com"},{"name":"aws-crypto-tools-ci-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sha1-browser_2.0.2_1662575148098_0.09307744046454358"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-07T18:28:27.145Z","publish_time":1662575148235,"_cnpm_publish_time":1662575148235},"2.0.0":{"name":"@aws-crypto/sha1-browser","version":"2.0.0","scripts":{"prepublishOnly":"tsc","pretest":"tsc -p tsconfig.test.json","test":"mocha --require ts-node/register test/**/*test.ts"},"repository":{"type":"git","url":"git+ssh://git@github.com/aws/aws-sdk-js-crypto-helpers.git"},"author":{"name":"AWS Crypto Tools Team","email":"aws-cryptools@amazon.com","url":"https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"},"license":"Apache-2.0","dependencies":{"@aws-crypto/ie11-detection":"^2.0.0","@aws-crypto/supports-web-crypto":"^2.0.0","@aws-sdk/types":"^3.1.0","@aws-sdk/util-locate-window":"^3.0.0","@aws-sdk/util-utf8-browser":"^3.0.0","tslib":"^1.11.1"},"main":"./build/index.js","types":"./build/index.d.ts","publishConfig":{"access":"public"},"gitHead":"c63b577ab80a02b078be6f537e14b4af578c4bae","description":"SHA1 wrapper for browsers that prefers `window.crypto.subtle`.","bugs":{"url":"https://github.com/aws/aws-sdk-js-crypto-helpers/issues"},"homepage":"https://github.com/aws/aws-sdk-js-crypto-helpers#readme","_id":"@aws-crypto/sha1-browser@2.0.0","_nodeVersion":"12.22.2","_npmVersion":"lerna/4.0.0/node@v12.22.2+x64 (linux)","dist":{"shasum":"71e735df20ea1d38f59259c4b1a2e00ca74a0eea","size":14621,"noattachment":false,"key":"/@aws-crypto/sha1-browser/-/@aws-crypto/sha1-browser-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@aws-crypto/sha1-browser/download/@aws-crypto/sha1-browser-2.0.0.tgz"},"_npmUser":{"name":"aws-crypto-tools-ci-bot","email":"aws-cryptools+github-ci-bot@amazon.com"},"directories":{},"maintainers":[{"name":"amzn-oss","email":"peddicor@amazon.com"},{"name":"aws-crypto-tools-ci-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sha1-browser_2.0.0_1635188614236_0.8925118901573978"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T20:45:51.753Z","publish_time":1635188614386,"_cnpm_publish_time":1635188614386},"1.2.0":{"name":"@aws-crypto/sha1-browser","version":"1.2.0","scripts":{"prepublishOnly":"tsc","pretest":"tsc -p tsconfig.test.json","test":"mocha --require ts-node/register test/**/*test.ts"},"repository":{"type":"git","url":"git+ssh://git@github.com/aws/aws-sdk-js-crypto-helpers.git"},"author":{"name":"AWS Crypto Tools Team","email":"aws-cryptools@amazon.com","url":"https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us"},"license":"Apache-2.0","dependencies":{"@aws-crypto/ie11-detection":"^1.0.0","@aws-crypto/supports-web-crypto":"^1.0.0","@aws-sdk/types":"^3.1.0","@aws-sdk/util-locate-window":"^3.0.0","@aws-sdk/util-utf8-browser":"^3.0.0","tslib":"^1.11.1"},"main":"./build/index.js","types":"./build/index.d.ts","publishConfig":{"access":"public"},"gitHead":"af2e64c8753bdf1d053d98c9a211ffa28410199b","description":"SHA1 wrapper for browsers that prefers `window.crypto.subtle`.","bugs":{"url":"https://github.com/aws/aws-sdk-js-crypto-helpers/issues"},"homepage":"https://github.com/aws/aws-sdk-js-crypto-helpers#readme","_id":"@aws-crypto/sha1-browser@1.2.0","_nodeVersion":"12.22.2","_npmVersion":"lerna/4.0.0/node@v12.22.2+x64 (linux)","dist":{"shasum":"122be4cf1f29626f1e13eafebf1bb190e122148b","size":14701,"noattachment":false,"key":"/@aws-crypto/sha1-browser/-/@aws-crypto/sha1-browser-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@aws-crypto/sha1-browser/download/@aws-crypto/sha1-browser-1.2.0.tgz"},"_npmUser":{"name":"aws-crypto-tools-ci-bot","email":"aws-cryptools+github-ci-bot@amazon.com"},"directories":{},"maintainers":[{"name":"amzn-oss","email":"peddicor@amazon.com"},{"name":"aws-crypto-tools-ci-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sha1-browser_1.2.0_1631837643078_0.39124554324439376"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T20:45:50.092Z","publish_time":1631837643236,"_cnpm_publish_time":1631837643236}},"readme":"# @aws-crypto/sha1-browser\n\nSHA1 wrapper for browsers that prefers `window.crypto.subtle`.\n\nSHA1 is **NOT** a cryptographically secure algorithm.\nIt should _only_ be used for non cryptographic functions like checksums.\n\n## Usage\n\n```\nimport {Sha1} from '@aws-crypto/sha1-browser'\n\nconst hash = new Sha1();\nhash.update('some data');\nconst result = await hash.digest();\n\n```\n\n## Test\n\n`npm test`\n","_attachments":{},"homepage":"https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha1-browser","bugs":{"url":"https://github.com/aws/aws-sdk-js-crypto-helpers/issues"},"license":"Apache-2.0"}