diff --git a/README.md b/README.md index d60f748..0c6b55a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # noble-ciphers -Auditable & minimal JS implementation of AES, Salsa20 and ChaCha20 ciphers. +Auditable & minimal JS implementation of AES SIV, Salsa20 and ChaCha20. - 🔒 Auditable - 🔻 Tree-shaking-friendly: use only what's necessary, other code won't be included diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..d925ef7 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,126 @@ +{ + "name": "@noble/ciphers", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@noble/ciphers", + "version": "0.1.0", + "license": "MIT", + "devDependencies": { + "@scure/base": "1.1.1", + "fast-check": "3.0.0", + "micro-bmark": "0.3.1", + "micro-should": "0.4.0", + "prettier": "2.8.4", + "typescript": "5.0.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "..": { + "name": "@noble/hashes", + "version": "1.3.0", + "extraneous": true, + "license": "MIT", + "devDependencies": { + "micro-bmark": "0.3.1", + "micro-should": "0.4.0", + "prettier": "2.8.4", + "typescript": "5.0.2" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@scure/base": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz", + "integrity": "sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "node_modules/fast-check": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.0.0.tgz", + "integrity": "sha512-uujtrFJEQQqnIMO52ARwzPcuV4omiL1OJBUBLE9WnNFeu0A97sREXDOmCIHY+Z6KLVcemUf09rWr0q0Xy/Y/Ew==", + "dev": true, + "dependencies": { + "pure-rand": "^5.0.1" + }, + "engines": { + "node": ">=8.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + }, + "node_modules/micro-bmark": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/micro-bmark/-/micro-bmark-0.3.1.tgz", + "integrity": "sha512-bNaKObD4yPAAPrpEqp5jO6LJ2sEFgLoFSmRjEY809mJ62+2AehI/K3+RlVpN3Oo92RHpgC2RQhj6b1Tb4dmo+w==", + "dev": true + }, + "node_modules/micro-should": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/micro-should/-/micro-should-0.4.0.tgz", + "integrity": "sha512-Vclj8yrngSYc9Y3dL2C+AdUlTkyx/syWc4R7LYfk4h7+icfF0DoUBGjjUIaEDzZA19RzoI+Hg8rW9IRoNGP0tQ==", + "dev": true + }, + "node_modules/prettier": { + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", + "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/pure-rand": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-5.0.5.tgz", + "integrity": "sha512-BwQpbqxSCBJVpamI6ydzcKqyFmnd5msMWUGvzXLm1aXvusbbgkbOto/EUPM00hjveJEaJtdbhUjKSzWRhQVkaw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ] + }, + "node_modules/typescript": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.2.tgz", + "integrity": "sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=12.20" + } + } + } +} diff --git a/package.json b/package.json index ee2df5f..ee6910e 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,11 @@ { "name": "@noble/ciphers", "version": "0.1.0", - "description": "Auditable & minimal JS implementation of AES SIV, Salsa20 and ChaCha20 ciphers", + "description": "Auditable & minimal JS implementation of AES SIV, Salsa20 and ChaCha20", "files": [ "esm", "src", + "webcrypto", "*.js", "*.js.map", "*.d.ts", @@ -29,7 +30,7 @@ }, "license": "MIT", "devDependencies": { - "@scure/base": "^1.1.1", + "@scure/base": "1.1.1", "fast-check": "3.0.0", "micro-bmark": "0.3.1", "micro-should": "0.4.0", @@ -57,6 +58,11 @@ "import": "./esm/_slow.js", "default": "./_slow.js" }, + "./_poly1305": { + "types": "./_poly1305.d.ts", + "import": "./esm/_poly1305.js", + "default": "./_poly1305.js" + }, "./chacha": { "types": "./chacha.d.ts", "import": "./esm/chacha.js",