{"name":"@libp2p/crypto","version":"0.0.0","license":"(Apache-2.0 OR MIT)","_id":"@libp2p/crypto@0.0.0","dist":{"shasum":"62ade09fc853abc278127f205f236bdcafc2f18b","tarball":"http://registry-npm.ywwl.com/@libp2p/crypto/download/@libp2p/crypto-0.0.0.tgz","fileCount":1,"integrity":"sha512-vNkyq9G6/INUJY/WIxfVif1agsDAxd2JnbC5FF4C4DLjzu/RgwpsfY5Ls5tAM0iUqOjr3bW7OP0f5V31rrPpGA==","signatures":[{"sig":"MEYCIQDFzOuPRHAKbIBHOVBAhMtwZ/RF8MlGIUsS3VevO7lwiwIhAMB+HQxc0z4t94nCZWPIsvEa4+orR3VdP+n+Hz3mbw5G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1CQQCRA9TVsSAnZWagAABVAP/0eQycOA/7GfzAjIMp41\nX3LfXMWYk5UbKA2uuvLCwILrF1GJSI6xEE93pt0Rk9OMW/NmMtHxDYklO3ta\nZcpUxYc2etkNv3kAyqWkDCNs+uuai3bcvE2hRqk1Cze18urg1XrtP30SguI2\n7KpeGr3mVg7JMAQtwn8pg7S4NEqagIXF8IguAViFgxZJrYiMPYxtXX5TaKA5\nvpHGJHvlVwUXjeMfiVAKa9pN8dov0KPawhxDALBaz4Eym/HVF74uTjDsqnZn\nkJspO9K6mi2sh0Qnl4V6zy9ATK1Mt+LWz1I9V/hokCwZ67GQ5TTZjVxL0FQI\nrFWp91nNupfoZ8jHdx4B9KH6uYSFn1m2aZahdtkz6ayGfuYyMwgVUGQ1LDbD\ni55zofWlcCNdCjqDqjFDyBz/1W3gIRRa2WrCSd1nFNq53M8pbgq07oY/m02R\nKo6l7U91O4+IGh8fEJvw3/CXiWTEI6p07C6JSK+/VCele6mgsKDirz9F9r8B\nkPCF2HAQBUaEe6JDuC1o0ft3lK2lkdbvuYqN9/hozb6OWRAR9TPdtUNbdcoy\n4ZRLuhK0LnUFAy7CO6zRJ7zfHjdMn7ZXF5bQnK10DTrsmkPL2dvkSfUkAn9U\nyhSsVuiIfhwdCRPWbz8UYZHxaL45Onm6qwZJVJH2AFmYNeK2IF4lxG5AMqrB\nQgeC\r\n=ybuU\r\n-----END PGP SIGNATURE-----\r\n","size":200,"noattachment":false,"key":"/@libp2p/crypto/-/@libp2p/crypto-0.0.0.tgz"},"main":"index.js","_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"_npmVersion":"8.1.0","description":"","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crypto_0.0.0_1641292816588_0.3601509381118797","host":"s3://npm-registry-packages"},"readme":"# @libp2p/crypto\n\n[![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=main\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amain)\n\n> Crypto primitives for libp2p\n\n# About\n\n<!--\n\n!IMPORTANT!\n\nEverything in this README between \"# About\" and \"# Install\" is automatically\ngenerated and will be overwritten the next time the doc generator is run.\n\nTo make changes to this section, please update the @packageDocumentation section\nof src/index.js or src/index.ts\n\nTo experiment with formatting, please run \"npm run docs\" from the root of this\nrepo and examine the changes made.\n\n-->\n\nThe `libp2p-crypto` library depends on the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) in the browser. Web Crypto is available in all modern browsers, however browsers restrict its usage to [Secure Contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).\n\n*This means you will not be able to use some `@libp2p/crypto` functions in the browser when the page is served over HTTP.*\n\nTo enable the Web Crypto API and allow `@libp2p/crypto` to work fully, please serve your page over HTTPS.\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](https://github.com/libp2p/js-libp2p/blob/main/packages/crypto/LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](https://github.com/libp2p/js-libp2p/blob/main/packages/crypto/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":1641292816792,"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":1641292816792,"dist-tags":{"latest":"5.2.0","next":"5.2.0-228942556"}}