2025-04-19 15:38:48 +08:00

161 lines
4.2 KiB
JSON

{
"_from": "@noble/ciphers@1.2.1",
"_id": "@noble/ciphers@1.2.1",
"_inBundle": false,
"_integrity": "sha512-rONPWMC7PeExE077uLE4oqWrZ1IvAfz3oH9LibVAcVCopJiA9R62uavnbEzdkVmJYI6M6Zgkbeb07+tWjlq2XA==",
"_location": "/@noble/ciphers",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@noble/ciphers@1.2.1",
"name": "@noble/ciphers",
"escapedName": "@noble%2fciphers",
"scope": "@noble",
"rawSpec": "1.2.1",
"saveSpec": null,
"fetchSpec": "1.2.1"
},
"_requiredBy": [
"/ethereum-cryptography"
],
"_resolved": "https://registry.npmmirror.com/@noble/ciphers/-/ciphers-1.2.1.tgz",
"_shasum": "3812b72c057a28b44ff0ad4aff5ca846e5b9cdc9",
"_spec": "@noble/ciphers@1.2.1",
"_where": "D:\\ruyi\\dapp\\node_modules\\ethereum-cryptography",
"author": {
"name": "Paul Miller",
"url": "https://paulmillr.com"
},
"browser": {
"node:crypto": false,
"./crypto": "./crypto.js"
},
"bugs": {
"url": "https://github.com/paulmillr/noble-ciphers/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Audited & minimal JS implementation of Salsa20, ChaCha and AES",
"devDependencies": {
"@paulmillr/jsbt": "0.3.1",
"@scure/base": "1.2.1",
"fast-check": "3.0.0",
"micro-bmark": "0.4.0",
"micro-should": "0.5.1",
"prettier": "3.3.2",
"typescript": "5.5.2"
},
"engines": {
"node": "^14.21.3 || >=16"
},
"exports": {
".": {
"import": "./esm/index.js",
"require": "./index.js"
},
"./_micro": {
"import": "./esm/_micro.js",
"require": "./_micro.js"
},
"./_poly1305": {
"import": "./esm/_poly1305.js",
"require": "./_poly1305.js"
},
"./_polyval": {
"import": "./esm/_polyval.js",
"require": "./_polyval.js"
},
"./aes": {
"import": "./esm/aes.js",
"require": "./aes.js"
},
"./chacha": {
"import": "./esm/chacha.js",
"require": "./chacha.js"
},
"./crypto": {
"types": "./crypto.d.ts",
"node": {
"import": "./esm/cryptoNode.js",
"default": "./cryptoNode.js"
},
"import": "./esm/crypto.js",
"default": "./crypto.js"
},
"./ff1": {
"import": "./esm/ff1.js",
"require": "./ff1.js"
},
"./index": {
"import": "./esm/index.js",
"require": "./index.js"
},
"./salsa": {
"import": "./esm/salsa.js",
"require": "./salsa.js"
},
"./utils": {
"import": "./esm/utils.js",
"require": "./utils.js"
},
"./webcrypto": {
"import": "./esm/webcrypto.js",
"require": "./webcrypto.js"
}
},
"files": [
"esm",
"src",
"*.js",
"*.js.map",
"*.d.ts",
"*.d.ts.map"
],
"funding": "https://paulmillr.com/funding/",
"homepage": "https://paulmillr.com/noble/",
"keywords": [
"salsa20",
"chacha",
"aes",
"cryptography",
"crypto",
"noble",
"cipher",
"ciphers",
"xsalsa20",
"xchacha20",
"poly1305",
"xsalsa20poly1305",
"chacha20poly1305",
"xchacha20poly1305",
"secretbox",
"rijndael",
"siv",
"ff1"
],
"license": "MIT",
"main": "index.js",
"name": "@noble/ciphers",
"repository": {
"type": "git",
"url": "git+https://github.com/paulmillr/noble-ciphers.git"
},
"scripts": {
"bench": "node benchmark/noble.js",
"bench:compare": "node benchmark/compare.js",
"bench:install": "cd benchmark; npm install; npm install .. --install-links",
"build": "npm run build:clean; tsc && tsc -p tsconfig.cjs.json",
"build:clean": "rm *.{js,d.ts,js.map,d.ts.map} esm/*.{js,d.ts,js.map,d.ts.map} 2> /dev/null",
"build:release": "npx jsbt esbuild test/build",
"format": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'",
"lint": "prettier --check 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'",
"test": "node --import ./test/esm-register.js test/index.js",
"test:big": "node --import ./test/esm-register.js test/crosstest.test.js slow",
"test:bun": "bun test/index.js",
"test:deno": "deno --allow-env --allow-read --import-map=./test/import_map.json test/index.js"
},
"sideEffects": false,
"version": "1.2.1"
}