{"_id":"iron-webcrypto","_rev":"2951178","name":"iron-webcrypto","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","dist-tags":{"dev":"0.0.2-dev","latest":"0.7.0"},"maintainers":[{"name":"brc-dd","email":""}],"time":{"modified":"2023-04-27T03:31:58.000Z","created":"2022-05-19T16:05:58.279Z","0.7.0":"2023-04-22T09:55:57.753Z","0.6.0":"2023-03-14T07:24:12.713Z","0.5.0":"2023-02-11T11:29:15.466Z","0.4.0":"2023-02-07T16:55:18.067Z","0.3.1":"2023-02-07T10:36:27.337Z","0.3.0":"2023-02-07T09:30:37.278Z","0.0.2-dev":"2023-02-07T08:25:54.294Z","0.2.8":"2023-02-07T08:20:57.397Z","0.0.1-dev":"2023-02-07T08:16:42.894Z","0.2.7":"2022-12-17T08:41:56.330Z","0.2.6":"2022-11-20T06:24:23.203Z","0.2.5":"2022-09-09T14:52:00.596Z","0.2.4":"2022-09-01T08:12:37.239Z","0.2.3":"2022-09-01T07:21:44.772Z","0.2.2":"2022-08-28T03:32:38.418Z","0.2.1":"2022-08-28T03:22:54.757Z","0.2.0":"2022-08-27T06:07:57.184Z","0.1.0":"2022-06-08T12:35:00.011Z","0.0.2":"2022-06-08T09:15:22.615Z","0.0.1":"2022-05-19T16:05:58.279Z"},"users":{},"author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"versions":{"0.7.0":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.7.0","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"type":"module","exports":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"main":"./dist/index.cjs","scripts":{"build":"pnpm i && tsup && cp dist/index.d.ts dist/index.d.cts","lint":"pnpm build && pnpm lint:only","lint:only":"lefthook run pre-commit && publint","prerelease":"pnpm lint && pnpm test:node","release":"pnpm prerelease && release-it","test:bun":"bun --cwd=tests/bun test","test:deno":"deno test tests/deno/index.test.ts --parallel --no-check","test:node":"NODE_OPTIONS='--loader tsx' node--test tests/node/index.test.ts"},"devDependencies":{"@aws-sdk/util-base64":"^3.310.0","@commitlint/cli":"^17.6.1","@commitlint/config-conventional":"^17.6.1","@release-it/conventional-changelog":"^5.1.1","@types/node":"^18.15.13","@types/semver":"^7.3.13","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","bun-types":"^0.5.8","eslint":"^8.39.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.0.0","eslint-config-prettier":"^8.8.0","eslint-import-resolver-node":"^0.3.7","eslint-import-resolver-typescript":"^3.5.5","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","eslint-plugin-security":"^1.7.1","lefthook":"^1.3.10","prettier":"^2.8.7","prettier-plugin-packagejson":"^2.4.3","publint":"^0.1.11","release-it":"^15.10.1","replace":"^1.2.2","test":"^3.3.0","tsup":"^6.7.0","tsx":"^3.12.6","typescript":"^5.0.4"},"packageManager":"pnpm@8.3.1","publishConfig":{"registry":"https://registry.npmjs.org"},"types":"./dist/index.d.ts","gitHead":"d1451ada76ab7c9dc9496d2f81b15816b55e3ff6","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.7.0","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"shasum":"781262e56127404c4e49e5e150a49408d3dec30f","size":8551,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.7.0.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.7.0_1682157357541_0.11603364504160751"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-22T09:55:57.753Z","publish_time":1682157357753,"_cnpm_publish_time":1682157357753},"0.6.0":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.6.0","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"type":"module","exports":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"main":"./dist/index.cjs","scripts":{"build":"pnpm i && tsup && cp dist/index.d.ts dist/index.d.cts","lint":"pnpm build && pnpm lint:only","lint:only":"lefthook run pre-commit && publint","prerelease":"pnpm lint && pnpm test:node","release":"pnpm prerelease && release-it","test:bun":"bun --cwd=tests/bun test","test:deno":"deno test tests/deno/index.test.ts --parallel --no-check","test:node":"NODE_OPTIONS='--loader tsx' node--test tests/node/index.test.ts"},"devDependencies":{"@aws-sdk/util-base64":"^3.208.0","@commitlint/cli":"^17.4.4","@commitlint/config-conventional":"^17.4.4","@peculiar/webcrypto":"^1.4.1","@release-it/conventional-changelog":"^5.1.1","@types/node":"^18.15.3","@types/semver":"^7.3.13","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","bun-types":"^0.5.7","eslint":"^8.36.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.0.0","eslint-config-prettier":"^8.7.0","eslint-import-resolver-node":"^0.3.7","eslint-import-resolver-typescript":"^3.5.3","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","eslint-plugin-security":"^1.7.1","lefthook":"^1.3.3","prettier":"^2.8.4","prettier-plugin-packagejson":"^2.4.3","publint":"^0.1.10","release-it":"^15.8.0","replace":"^1.2.2","semver":"^7.3.8","test":"^3.3.0","tsup":"^6.6.3","tsx":"^3.12.5","typescript":"^4.9.5"},"packageManager":"pnpm@7.29.2","publishConfig":{"registry":"https://registry.npmjs.org"},"types":"./dist/index.d.ts","gitHead":"acb294170bcba39b0224aeac60392226aaf9578d","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.6.0","_nodeVersion":"19.6.0","_npmVersion":"9.4.0","dist":{"shasum":"3e597930b41363fc81a6ec415d25eb5000092144","size":8566,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.6.0.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.6.0_1678778652544_0.8305801057222209"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-14T07:24:12.713Z","publish_time":1678778652713,"_cnpm_publish_time":1678778652713},"0.5.0":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.5.0","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm build && pnpm lint && pnpm test:vite && publint","release":"pnpm prerelease && release-it","test:bun":"bun --cwd=tests/bun wiptest","test:deno":"deno test tests/deno/index.test.ts --parallel --no-check","test:node":"node --loader tsx --test tests/node/index.test.ts","test:vite":"vitest run tests/vite-node"},"devDependencies":{"@aws-sdk/util-base64":"^3.208.0","@commitlint/cli":"^17.4.2","@commitlint/config-conventional":"^17.4.2","@peculiar/webcrypto":"^1.4.1","@release-it/conventional-changelog":"^5.1.1","@types/node":"^18.13.0","@types/semver":"^7.3.13","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","bun-types":"^0.5.6","eslint":"^8.34.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.0.0","eslint-config-prettier":"^8.6.0","eslint-import-resolver-node":"^0.3.7","eslint-import-resolver-typescript":"^3.5.3","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","eslint-plugin-security":"^1.7.1","lefthook":"^1.2.8","prettier":"^2.8.4","prettier-plugin-packagejson":"^2.4.3","publint":"^0.1.9","release-it":"^15.6.0","replace":"^1.2.2","semver":"^7.3.8","tsup":"^6.6.0","tsx":"^3.12.3","typescript":"^4.9.5","vitest":"^0.28.4"},"packageManager":"pnpm@7.27.0","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"a1c1c79977bbe13f609ddc6516c73cbf7aa05420","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.5.0","_nodeVersion":"19.6.0","_npmVersion":"9.4.0","dist":{"shasum":"6028474b6de42bb3b5ea8d2222f5af791696ccf9","size":8437,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.5.0.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.5.0_1676114955313_0.4783915539021859"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-11T11:29:15.466Z","publish_time":1676114955466,"_cnpm_publish_time":1676114955466},"0.4.0":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.4.0","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"unbuild","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"devDependencies":{"@aws-sdk/util-base64":"^3.208.0","@commitlint/cli":"^17.4.2","@commitlint/config-conventional":"^17.4.2","@peculiar/webcrypto":"^1.4.1","@release-it/conventional-changelog":"^5.1.1","@tsconfig/node12":"^1.0.11","@types/node":"^18.13.0","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.0.0","eslint-config-prettier":"^8.6.0","eslint-import-resolver-node":"^0.3.7","eslint-import-resolver-typescript":"^3.5.3","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","eslint-plugin-security":"^1.7.1","lefthook":"^1.2.8","prettier":"^2.8.3","prettier-plugin-packagejson":"^2.4.2","release-it":"^15.6.0","replace":"^1.2.2","typescript":"^4.9.5","unbuild":"^1.1.1","vitest":"^0.28.4"},"packageManager":"pnpm@7.26.3","publishConfig":{"registry":"https://registry.npmjs.org"},"unbuild":{"failOnWarn":false},"gitHead":"bb99abc8a6e691d78c05157a4afce47e7feca450","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.4.0","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"8e23931ea0649c9c5cefb5e43c8375e60cd7952d","size":7596,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.4.0.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.4.0_1675788917896_0.7713416488710279"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-07T16:55:18.067Z","publish_time":1675788918067,"_cnpm_publish_time":1675788918067},"0.3.1":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.3.1","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{"node":{"types":"./dist/index.node.d.ts","import":"./dist/index.node.mjs","require":"./dist/index.node.cjs"},"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"unbuild","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"^17.4.2","@commitlint/config-conventional":"^17.4.2","@peculiar/webcrypto":"^1.4.1","@release-it/conventional-changelog":"^5.1.1","@tsconfig/node12":"^1.0.11","@types/node":"^18.11.19","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.0.0","eslint-config-prettier":"^8.6.0","eslint-import-resolver-node":"^0.3.7","eslint-import-resolver-typescript":"^3.5.3","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","eslint-plugin-security":"^1.7.1","lefthook":"^1.2.8","prettier":"^2.8.3","prettier-plugin-packagejson":"^2.4.2","release-it":"^15.6.0","replace":"^1.2.2","typescript":"^4.9.5","unbuild":"^1.1.1","vitest":"^0.28.4"},"packageManager":"pnpm@7.26.3","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"45f96d50901097056d1382740db424aa3d492971","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.3.1","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"90340ac94091cb0ae13925e717a056a6c31b48f6","size":7068,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.3.1.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.3.1_1675766187200_0.7567686330170249"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-07T10:36:27.337Z","publish_time":1675766187337,"_cnpm_publish_time":1675766187337},"0.3.0":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.3.0","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"node":{"types":"./dist/index.node.d.ts","import":"./dist/index.node.mjs","require":"./dist/index.node.cjs"},"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"unbuild","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"^17.4.2","@commitlint/config-conventional":"^17.4.2","@peculiar/webcrypto":"^1.4.1","@release-it/conventional-changelog":"^5.1.1","@tsconfig/node12":"^1.0.11","@types/node":"^18.11.19","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.0.0","eslint-config-prettier":"^8.6.0","eslint-import-resolver-node":"^0.3.7","eslint-import-resolver-typescript":"^3.5.3","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","eslint-plugin-security":"^1.7.1","lefthook":"^1.2.8","prettier":"^2.8.3","prettier-plugin-packagejson":"^2.4.2","release-it":"^15.6.0","replace":"^1.2.2","typescript":"^4.9.5","unbuild":"^1.1.1","vitest":"^0.28.4"},"packageManager":"pnpm@7.26.3","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"421c85378785130b93ac13848827d7e850e641fe","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.3.0","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"339d8c61a5dcc0f9205c8f3750231530fa583807","size":7075,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.3.0.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.3.0_1675762237076_0.9451324089296564"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-07T09:30:37.278Z","publish_time":1675762237278,"_cnpm_publish_time":1675762237278},"0.0.2-dev":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.0.2-dev","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"^17.4.2","@commitlint/config-conventional":"^17.4.2","@peculiar/webcrypto":"^1.4.1","@release-it/conventional-changelog":"^5.1.1","@tsconfig/node12":"^1.0.11","@types/node":"^18.11.19","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.0.0","eslint-config-prettier":"^8.6.0","eslint-import-resolver-node":"^0.3.7","eslint-import-resolver-typescript":"^3.5.3","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","eslint-plugin-security":"^1.7.1","lefthook":"^1.2.8","prettier":"^2.8.3","prettier-plugin-packagejson":"^2.4.2","release-it":"^15.6.0","replace":"^1.2.2","rimraf":"^4.1.2","typescript":"^4.9.5","unbuild":"^1.1.1","vitest":"^0.28.4"},"packageManager":"pnpm@7.26.3","publishConfig":{"registry":"https://registry.npmjs.org"},"scripts":{"build":"rimraf dist && unbuild","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"readmeFilename":"README.md","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.0.2-dev","_integrity":"sha512-h1hDEZ1zSyLpVBInxg2ogexGrLo2q7US5S6Cu2fJ+Xj0CPbJGlcScnSRl0jCyJWjQDmheAl9F4WOlenE13R5eg==","_resolved":"/private/var/folders/d3/bnk71rfx63d2t9qkjs29wzbh0000gq/T/dc4fe8dadf363fab6ae003089327138f/iron-webcrypto-0.0.2-dev.tgz","_from":"file:iron-webcrypto-0.0.2-dev.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"d14f657177d196f22cdecf9d02f8f4d2eccde4e1","size":6728,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.0.2-dev.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.0.2-dev.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.0.2-dev_1675758354116_0.9104883819220537"},"_hasShrinkwrap":false,"deprecated":"this package has been deprecated","_cnpmcore_publish_time":"2023-02-07T08:25:54.294Z","publish_time":1675758354294,"_cnpm_publish_time":1675758354294},"0.2.8":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.2.8","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.mjs"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"shx rm -rf dist && tsup ./src/index.ts --dts --format esm,cjs --minify --treeshake","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@peculiar/webcrypto":"latest","@release-it/conventional-changelog":"latest","@tsconfig/node12":"latest","@types/node":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","eslint":"latest","eslint-config-airbnb-base":"latest","eslint-config-airbnb-typescript":"latest","eslint-config-prettier":"latest","eslint-import-resolver-node":"latest","eslint-import-resolver-typescript":"latest","eslint-plugin-eslint-comments":"latest","eslint-plugin-import":"latest","eslint-plugin-prettier":"latest","eslint-plugin-security":"latest","lefthook":"latest","prettier":"latest","prettier-plugin-packagejson":"latest","release-it":"latest","replace":"latest","shx":"latest","ts-node":"latest","tsup":"latest","typescript":"latest","vitest":"latest"},"packageManager":"pnpm@7.16.1","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"e14e0177e5139fb05e2ec79412982295709f4d8a","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.2.8","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"7258fb87aa60122949e9900a49ae0f28cf4813b4","size":6242,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.2.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.2.8.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.2.8_1675758057248_0.17479118225182888"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-07T08:20:57.397Z","publish_time":1675758057397,"_cnpm_publish_time":1675758057397},"0.0.1-dev":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.0.1-dev","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"^17.4.2","@commitlint/config-conventional":"^17.4.2","@peculiar/webcrypto":"^1.4.1","@release-it/conventional-changelog":"^5.1.1","@tsconfig/node12":"^1.0.11","@types/node":"^18.11.19","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","eslint":"^8.33.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.0.0","eslint-config-prettier":"^8.6.0","eslint-import-resolver-node":"^0.3.7","eslint-import-resolver-typescript":"^3.5.3","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","eslint-plugin-security":"^1.7.1","lefthook":"^1.2.8","prettier":"^2.8.3","prettier-plugin-packagejson":"^2.4.2","release-it":"^15.6.0","replace":"^1.2.2","rimraf":"^4.1.2","typescript":"^4.9.5","unbuild":"^1.1.1","vitest":"^0.28.4"},"packageManager":"pnpm@7.26.3","publishConfig":{"registry":"https://registry.npmjs.org"},"scripts":{"build":"rimraf dist && unbuild","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.0.1-dev","_integrity":"sha512-WI3nLsSkWLLLnaGbtfDuKIvK6itYsys4SthgfMOxnfnbvKHb/y0ELl0T93wITMIaUYOZW5HnCJ8Y6QxI33SZqw==","_resolved":"/private/var/folders/d3/bnk71rfx63d2t9qkjs29wzbh0000gq/T/be643fb428b925434905a9ed98513617/iron-webcrypto-0.0.1-dev.tgz","_from":"file:iron-webcrypto-0.0.1-dev.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"shasum":"36747c5895be7468bb61eea7c707bd71575e7497","size":6727,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.0.1-dev.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.0.1-dev.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.0.1-dev_1675757802758_0.23234265963739342"},"_hasShrinkwrap":false,"deprecated":"this package has been deprecated","_cnpmcore_publish_time":"2023-02-07T08:16:42.894Z","publish_time":1675757802894,"_cnpm_publish_time":1675757802894},"0.2.7":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.2.7","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.mjs"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"shx rm -rf dist && tsup ./src/index.ts --dts --format esm,cjs --minify --treeshake","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@peculiar/webcrypto":"latest","@release-it/conventional-changelog":"latest","@tsconfig/node12":"latest","@types/node":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","eslint":"latest","eslint-config-airbnb-base":"latest","eslint-config-airbnb-typescript":"latest","eslint-config-prettier":"latest","eslint-import-resolver-node":"latest","eslint-import-resolver-typescript":"latest","eslint-plugin-eslint-comments":"latest","eslint-plugin-import":"latest","eslint-plugin-prettier":"latest","eslint-plugin-security":"latest","lefthook":"latest","prettier":"latest","prettier-plugin-packagejson":"latest","release-it":"latest","replace":"latest","shx":"latest","ts-node":"latest","tsup":"latest","typescript":"latest","vitest":"latest"},"packageManager":"pnpm@7.16.1","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"b255a535e046b8cbbea1f3bedfec9d9fa96f8913","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.2.7","_nodeVersion":"16.17.0","_npmVersion":"9.1.2","dist":{"shasum":"f85d90876d97d4d7f3842ea528141a012c42192d","size":6255,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.2.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.2.7.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.2.7_1671266516162_0.9692621872994012"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-17T08:41:59.681Z","publish_time":1671266516330,"_cnpm_publish_time":1671266516330},"0.2.6":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.2.6","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"shx rm -rf dist && tsup ./src/index.ts --dts --format esm,cjs --minify --treeshake","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@peculiar/webcrypto":"latest","@release-it/conventional-changelog":"latest","@tsconfig/node12":"latest","@types/node":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","eslint":"latest","eslint-config-airbnb-base":"latest","eslint-config-airbnb-typescript":"latest","eslint-config-prettier":"latest","eslint-import-resolver-node":"latest","eslint-import-resolver-typescript":"latest","eslint-plugin-eslint-comments":"latest","eslint-plugin-import":"latest","eslint-plugin-prettier":"latest","eslint-plugin-security":"latest","lefthook":"latest","prettier":"latest","prettier-plugin-packagejson":"latest","release-it":"latest","replace":"latest","shx":"latest","ts-node":"latest","tsup":"latest","typescript":"latest","vitest":"latest"},"packageManager":"pnpm@7.16.1","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"9e1ed17b9dccd5235b95a60699421afb4b5dee3b","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.2.6","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"shasum":"9ad9ce24bd7cb2963f6b7ea09722f095b9cbcb69","size":6061,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.2.6.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.2.6_1668925463025_0.462850036321633"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-20T06:24:32.229Z","publish_time":1668925463203,"_cnpm_publish_time":1668925463203},"0.2.5":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.2.5","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"shx rm -rf dist && tsup ./src/index.ts --dts --format esm,cjs --minify --treeshake","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@peculiar/webcrypto":"latest","@release-it/conventional-changelog":"latest","@tsconfig/node12":"latest","@types/node":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","eslint":"latest","eslint-config-airbnb-base":"latest","eslint-config-airbnb-typescript":"latest","eslint-config-prettier":"latest","eslint-import-resolver-node":"latest","eslint-import-resolver-typescript":"latest","eslint-plugin-eslint-comments":"latest","eslint-plugin-import":"latest","eslint-plugin-prettier":"latest","eslint-plugin-security":"latest","lefthook":"latest","prettier":"latest","prettier-plugin-packagejson":"latest","release-it":"latest","replace":"latest","shx":"latest","ts-node":"latest","tsup":"latest","typescript":"latest","vitest":"latest"},"packageManager":"pnpm@7.9.5","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"a87ed601aacd342d287c1ccf1b92dd1fec047d7c","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.2.5","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"shasum":"ebb0fc51f86a158eaf026ee1e068046181a799a5","size":6023,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.2.5.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.2.5_1662735120426_0.6380018365363196"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-09T14:59:12.902Z","publish_time":1662735120596,"_cnpm_publish_time":1662735120596},"0.2.4":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.2.4","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"shx rm -rf dist && tsup ./src/index.ts --dts --format esm,cjs --minify --treeshake","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@peculiar/webcrypto":"latest","@release-it/conventional-changelog":"latest","@tsconfig/node12":"latest","@types/node":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","eslint":"latest","eslint-config-airbnb-base":"latest","eslint-config-airbnb-typescript":"latest","eslint-config-prettier":"latest","eslint-import-resolver-node":"latest","eslint-import-resolver-typescript":"latest","eslint-plugin-eslint-comments":"latest","eslint-plugin-import":"latest","eslint-plugin-prettier":"latest","eslint-plugin-security":"latest","lefthook":"latest","prettier":"latest","prettier-plugin-packagejson":"latest","release-it":"latest","replace":"latest","shx":"latest","ts-node":"latest","tsup":"latest","typescript":"latest","vitest":"latest"},"packageManager":"pnpm@7.9.5","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"029bca0d91984114319ac2db7b8348adc81c3470","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.2.4","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"shasum":"e1d4bac33762f854b43ccb466e86f6f738f8b04c","size":5995,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.2.4.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.2.4_1662019957094_0.45853554270452634"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-01T08:31:02.566Z","publish_time":1662019957239,"_cnpm_publish_time":1662019957239},"0.2.3":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.2.3","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"funding":"https://github.com/sponsors/brc-dd","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"main":"dist/index.js","module":"dist/index.mjs","browser":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"shx rm -rf dist && tsup ./src/index.ts --dts --format esm,cjs --minify --treeshake","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@peculiar/webcrypto":"latest","@release-it/conventional-changelog":"latest","@tsconfig/node12":"latest","@types/node":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","eslint":"latest","eslint-config-airbnb-base":"latest","eslint-config-airbnb-typescript":"latest","eslint-config-prettier":"latest","eslint-import-resolver-node":"latest","eslint-import-resolver-typescript":"latest","eslint-plugin-eslint-comments":"latest","eslint-plugin-import":"latest","eslint-plugin-prettier":"latest","eslint-plugin-security":"latest","lefthook":"latest","prettier":"latest","prettier-plugin-packagejson":"latest","release-it":"latest","replace":"latest","shx":"latest","ts-node":"latest","tsup":"latest","typescript":"latest","vitest":"latest"},"packageManager":"pnpm@7.9.5","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"23eb8e39b5a7fdca8e6a245b03f5a9a4dddee7fe","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.2.3","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"shasum":"fc4c73f4ebe98cd619e363e8ec18df0611697ad8","size":5999,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.2.3.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.2.3_1662016904603_0.13219934178796877"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-01T07:26:52.454Z","publish_time":1662016904772,"_cnpm_publish_time":1662016904772},"0.2.2":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.2.2","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"},"main":"dist/index.js","module":"dist/index.mjs","browser":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"shx rm -rf dist && tsup ./src/index.ts --dts --format esm,cjs --minify --treeshake","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@peculiar/webcrypto":"latest","@release-it/conventional-changelog":"latest","@tsconfig/node12":"latest","@types/node":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","eslint":"latest","eslint-config-airbnb-base":"latest","eslint-config-airbnb-typescript":"latest","eslint-config-prettier":"latest","eslint-import-resolver-node":"latest","eslint-import-resolver-typescript":"latest","eslint-plugin-eslint-comments":"latest","eslint-plugin-import":"latest","eslint-plugin-prettier":"latest","eslint-plugin-security":"latest","lefthook":"latest","prettier":"latest","prettier-plugin-packagejson":"latest","release-it":"latest","replace":"latest","shx":"latest","ts-node":"latest","tsup":"latest","typescript":"latest","vitest":"latest"},"packageManager":"pnpm@7.9.5","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"f48a522962860a6a4ba26bd906f301a7d8ffa532","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.2.2","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"shasum":"1ce671698d57d9a76e096f2727ad976d03b9930c","size":5973,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.2.2.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.2.2_1661657558241_0.13832511238128276"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-28T03:32:42.032Z","publish_time":1661657558418,"_cnpm_publish_time":1661657558418},"0.2.1":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.2.1","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"},"main":"dist/index.js","module":"dist/index.mjs","browser":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"shx rm -rf dist && tsup ./src/index.ts --dts --format esm,cjs --minify --treeshake","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"dependencies":{"buffer":"^6"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@peculiar/webcrypto":"latest","@release-it/conventional-changelog":"latest","@tsconfig/node12":"latest","@types/node":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","eslint":"latest","eslint-config-airbnb-base":"latest","eslint-config-airbnb-typescript":"latest","eslint-config-prettier":"latest","eslint-import-resolver-node":"latest","eslint-import-resolver-typescript":"latest","eslint-plugin-eslint-comments":"latest","eslint-plugin-import":"latest","eslint-plugin-prettier":"latest","eslint-plugin-security":"latest","lefthook":"latest","prettier":"latest","prettier-plugin-packagejson":"latest","release-it":"latest","replace":"latest","shx":"latest","ts-node":"latest","tsup":"latest","typescript":"latest","vitest":"latest"},"packageManager":"pnpm@7.9.5","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"df68feb7d8bcfffe7f66769c15821ece1c2f1d47","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.2.1","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"shasum":"910e013a41490c2f13dbd9cec8c8b4226ae7c78e","size":5928,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.2.1.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.2.1_1661656974566_0.6888258966977212"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-28T03:22:57.586Z","publish_time":1661656974757,"_cnpm_publish_time":1661656974757},"0.2.0":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.2.0","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","keywords":["authentication","data integrity","encryption","webcrypto"],"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"sideEffects":false,"exports":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"},"main":"dist/index.js","module":"dist/index.mjs","browser":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"shx rm -rf dist && tsup ./src/index.ts --dts-resolve --format esm,cjs --minify --treeshake","lint":"lefthook run pre-commit","prerelease":"pnpm i && pnpm lint && pnpm build && pnpm test","release":"pnpm prerelease && release-it","test":"vitest run"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@peculiar/webcrypto":"latest","@release-it/conventional-changelog":"latest","@tsconfig/node12":"latest","@types/node":"latest","@types/webpack-env":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","buffer":"latest","eslint":"latest","eslint-config-airbnb-base":"latest","eslint-config-airbnb-typescript":"latest","eslint-config-prettier":"latest","eslint-import-resolver-node":"latest","eslint-import-resolver-typescript":"latest","eslint-plugin-eslint-comments":"latest","eslint-plugin-import":"latest","eslint-plugin-prettier":"latest","eslint-plugin-security":"latest","lefthook":"latest","prettier":"latest","prettier-plugin-packagejson":"latest","release-it":"latest","replace":"latest","shx":"latest","ts-node":"latest","tsup":"latest","typescript":"latest","vitest":"latest"},"packageManager":"pnpm@7.9.5","publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"145286993aa1a7382dd9509ff7776396ef3a1634","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.2.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"shasum":"39a84cca829412a069ec924f2f482fc4fd9b207a","size":25603,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.2.0.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.2.0_1661580476959_0.39263221863287034"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-27T06:08:04.638Z","publish_time":1661580477184,"_cnpm_publish_time":1661580477184},"0.1.0":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.1.0","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"main":"index.js","types":"index.d.ts","dependencies":{"buffer":"^6"},"keywords":["authentication","data integrity","encryption","webcrypto"],"engines":{"node":">=12"},"publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"9639305c9c98a191c5b11f7ad6637c07e9c8e834","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.1.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"670982b366fae073c6d36d62e776f621bfd3a002","size":6219,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.1.0.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.1.0_1654691699861_0.5814791147407539"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-08T13:35:15.145Z","publish_time":1654691700011,"_cnpm_publish_time":1654691700011},"0.0.2":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.0.2","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"main":"index.js","types":"index.d.ts","dependencies":{"@peculiar/webcrypto":"^1","buffer":"^6"},"keywords":["authentication","data integrity","encryption","webcrypto"],"engines":{"node":">=12"},"publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"e60ba4f3799b471a2101ad8f8377d5daea97e85c","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.0.2","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"924c872c94ccd0b7bebfe3021b1ff3c0f777ace6","size":6176,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.0.2.tgz"},"_npmUser":{"name":"brc-dd","email":"brc-dd@hotmail.com"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.0.2_1654679722445_0.3705123058551749"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-08T10:14:25.321Z","publish_time":1654679722615,"_cnpm_publish_time":1654679722615},"0.0.1":{"$schema":"https://json.schemastore.org/package.json","name":"iron-webcrypto","version":"0.0.1","description":"a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification","license":"MIT","author":{"name":"Divyansh Singh","email":"brc-dd@hotmail.com","url":"https://github.com/brc-dd"},"repository":{"type":"git","url":"git+https://github.com/brc-dd/iron-webcrypto.git"},"bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"main":"index.js","types":"index.d.ts","dependencies":{"@peculiar/webcrypto":"^1","buffer":"^6"},"keywords":["authentication","data integrity","encryption","webcrypto"],"engines":{"node":">=12"},"publishConfig":{"registry":"https://registry.npmjs.org"},"gitHead":"b88b0db3edb9df25edf92e73d76e0edeefe162c0","homepage":"https://github.com/brc-dd/iron-webcrypto#readme","_id":"iron-webcrypto@0.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"33ed475ba5e73a9f905d4fa545cdfa90d8150c41","size":6154,"noattachment":false,"key":"/iron-webcrypto/-/iron-webcrypto-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/iron-webcrypto/download/iron-webcrypto-0.0.1.tgz"},"_npmUser":{"name":"brc-dd","email":"divyansh.singh@ikcb.org"},"directories":{},"maintainers":[{"name":"brc-dd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-webcrypto_0.0.1_1652976358047_0.16716838852093518"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-19T16:08:00.212Z","publish_time":1652976358279,"_cnpm_publish_time":1652976358279}},"readme":"# iron-webcrypto (beta) [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue?style=flat-square)](https://www.jsdocs.io/package/iron-webcrypto) [![npm](https://img.shields.io/npm/dm/iron-webcrypto?style=flat-square)](https://www.npmjs.com/package/iron-webcrypto)\n\nThis module is a replacement for [`@hapi/iron`](https://hapi.dev/module/iron/),\nwritten using standard APIs like Web Crypto and Uint8Array, which make this\ncompatible with a variety of runtimes like Node.js, Deno, Bun, browsers,\nworkers, and edge environments. Refer `@hapi/iron`'s docs on what it does and\nhow it works.\n\n> Check out [**unjs/h3**](https://github.com/unjs/h3) and\n> [**vvo/iron-session**](https://github.com/vvo/iron-session) to see this module\n> in use!\n\n---\n\n## Installation\n\nSimply run:\n\n```sh\nnpm add iron-webcrypto\n```\n\nChange the package manager to whatever you like. On Deno and browsers, you can\nuse [esm.sh](https://esm.sh/) for importing this:\n\n```ts\nimport * as Iron from 'https://esm.sh/iron-webcrypto@0.6.0'\n```\n\n## Usage\n\nRefer `@hapi/iron`'s docs. There are certain differences.\n\nYou need to pass a Web Crypto implementation as the first parameter to each\nfunction. For example:\n\n```ts\nIron.seal(obj, password, Iron.defaults)\n```\n\nbecomes:\n\n```ts\nIron.seal(_crypto, obj, password, Iron.defaults)\n```\n\nwhere `_crypto` is your Web Crypto implementation. Generally, this will be\navailable in your context. For example, `globalThis.crypto` in browsers,\nworkers, edge runtimes, Deno, Bun, and Node.js v19+;\n`require('crypto').webcrypto` in Node.js v15+. You can directly use\n[`uncrypto`](https://github.com/unjs/uncrypto) for this too. Also, you might\nneed to polyfill this for older Node.js versions. We recommend using\n[`@peculiar/webcrypto`](https://github.com/PeculiarVentures/webcrypto) for that.\n\nThere are certain other differences because of the underlying implementation\nusing standard APIs instead of Node.js-specific ones like `node:crypto` and\n`node:buffer`. There might also be differences in certain error messages because\nof this.\n\n## Security Considerations\n\n**Users are responsible for implementing `iron-webcrypto` in a secure manner and\nensuring the security of their cryptographic keys. I DO NOT guarantee the\nsecurity of this module.** So far, no security vulnerabilities have been\nreported, but I am no cryptography expert. Quoting\n[MDN](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API):\n\n> The Web Crypto API provides a number of low-level cryptographic primitives.\n> It's very easy to misuse them, and the pitfalls involved can be very subtle.\n>\n> Even assuming you use the basic cryptographic functions correctly, secure key\n> management and overall security system design are extremely hard to get right,\n> and are generally the domain of specialist security experts.\n>\n> Errors in security system design and implementation can make the security of\n> the system completely ineffective.\n\nAs a request, it would be great if someone with expertise in this field could\nthoroughly review the code.\n\n## Credits\n\n```txt\n@hapi/iron\n    Copyright (c) 2012-2022, Project contributors\n    Copyright (c) 2012-2020, Sideway Inc\n    All rights reserved.\n    https://cdn.jsdelivr.net/npm/@hapi/iron@7.0.1/LICENSE.md\n\n@aws-sdk/util-base64\n    Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n    https://cdn.jsdelivr.net/npm/@aws-sdk/util-base64@3.310.0/LICENSE\n```\n","_attachments":{},"homepage":"https://github.com/brc-dd/iron-webcrypto#readme","bugs":{"url":"https://github.com/brc-dd/iron-webcrypto","email":"brc-dd@hotmail.com"},"license":"MIT"}