{"name":"@libp2p/crypto","version":"2.0.8-adea7bbbf","keywords":["IPFS","crypto","libp2p","rsa","secp256k1"],"license":"Apache-2.0 OR MIT","_id":"@libp2p/crypto@2.0.8-adea7bbbf","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/crypto#readme","bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"dist":{"shasum":"a720cd0d25c2e336db419cddd199c25ecfe2007e","tarball":"http://registry-npm.ywwl.com/@libp2p/crypto/download/@libp2p/crypto-2.0.8-adea7bbbf.tgz","fileCount":175,"integrity":"sha512-w52Bixt2vQCoSvM92atbzX4PhL0CXyfVUNi8kiX5ZHyZPaSGVmYeJ+t8SD4Np5ELwpjcMNGt26UjP5kouN/GSg==","signatures":[{"sig":"MEYCIQDCm7OCqUqfzaEHrJ6LedkVwh+ms5i24krCtGqDiytoYAIhALdUiPdbmOfBk3rx7q0sKs6Ujgn/K/kLyv8Vh4i1NNIn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":484831,"size":125611,"noattachment":false,"key":"/@libp2p/crypto/-/@libp2p/crypto-2.0.8-adea7bbbf.tgz"},"type":"module","types":"./dist/src/index.d.ts","browser":{"./dist/src/keys/rsa.js":"./dist/src/keys/rsa-browser.js","./dist/src/keys/ecdh.js":"./dist/src/keys/ecdh-browser.js","./dist/src/hmac/index.js":"./dist/src/hmac/index-browser.js","./dist/src/aes/ciphers.js":"./dist/src/aes/ciphers-browser.js","./dist/src/keys/ed25519.js":"./dist/src/keys/ed25519-browser.js","./dist/src/ciphers/aes-gcm.js":"./dist/src/ciphers/aes-gcm.browser.js"},"exports":{".":{"types":"./src/index.d.ts","import":"./dist/src/index.js"},"./aes":{"types":"./dist/src/aes/index.d.ts","import":"./dist/src/aes/index.js"},"./hmac":{"types":"./dist/src/hmac/index.d.ts","import":"./dist/src/hmac/index.js"},"./keys":{"types":"./dist/src/keys/index.d.ts","import":"./dist/src/keys/index.js"}},"gitHead":"adea7bbbf8982d814d5bf5ed64368cdf5a3a742d","scripts":{"lint":"aegir lint","test":"aegir test","build":"aegir build","clean":"aegir clean","generate":"protons ./src/keys/keys.proto","dep-check":"aegir dep-check","test:node":"aegir test -t node --cov","test:chrome":"aegir test -t browser","test:webkit":"aegir test -t browser -- --browser webkit","test:firefox":"aegir test -t browser -- --browser firefox","test:electron-main":"aegir test -t electron-main","test:chrome-webworker":"aegir test -t webworker","test:firefox-webworker":"aegir test -t webworker -- --browser firefox"},"_npmUser":{"name":"npm-service-account-libp2p","email":"npm-service-account+libp2p@protocol.ai"},"repository":{"url":"git+https://github.com/libp2p/js-libp2p.git","type":"git"},"_npmVersion":"9.9.2","description":"Crypto primitives for libp2p","directories":{},"_nodeVersion":"20.9.0","dependencies":{"node-forge":"^1.1.0","uint8arrays":"^4.0.6","multiformats":"^12.1.3","@noble/curves":"^1.1.0","@noble/hashes":"^1.3.1","uint8arraylist":"^2.4.3","protons-runtime":"^5.0.0","@libp2p/interface":"0.1.6-adea7bbbf"},"eslintConfig":{"extends":"ipfs","parserOptions":{"project":true,"sourceType":"module"},"ignorePatterns":["src/*.d.ts"]},"typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"aegir":"^41.0.2","protons":"^7.3.0","benchmark":"^2.1.4","@types/mocha":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto_2.0.8-adea7bbbf_1700236531335_0.7654284490411103","host":"s3://npm-registry-packages"},"readme":"[![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)\n[![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)\n[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Crypto primitives for libp2p\n\n# Install\n\n```console\n$ npm i @libp2p/crypto\n```\n\n## Browser `<script>` tag\n\nLoading this module through a script tag will make it's exports available as `Libp2pCrypto` in the global namespace.\n\n```html\n<script src=\"https://unpkg.com/@libp2p/crypto/dist/index.min.js\"></script>\n```\n\n# API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_crypto.html>\n\n# License\n\nLicensed under either of\n\n- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)\n\n# Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","publish_time":1700236531501,"maintainers":[{"name":"jacobheun","email":"jacobheun@gmail.com"},{"name":"npm-service-account-libp2p","email":"npm-service-account+libp2p@ipfs.tech"},{"name":"alanshaw","email":"alan138@gmail.com"},{"name":"vascosantos","email":"santos.vasco10@gmail.com"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"daviddias","email":"mail@daviddias.me"}],"_cnpm_publish_time":1700236531501,"dist-tags":{"latest":"5.2.0","next":"5.2.0-228942556"}}