{"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"dominictarr.com"},"name":"crypto-browserify","description":"implementation of crypto for the browser","version":"3.12.1","homepage":"https://github.com/browserify/crypto-browserify","sideEffects":false,"repository":{"type":"git","url":"git://github.com/browserify/crypto-browserify.git"},"scripts":{"lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>=10.2' audit --production"},"funding":{"url":"https://github.com/sponsors/ljharb"},"engines":{"node":">= 0.10"},"dependencies":{"browserify-cipher":"^1.0.1","browserify-sign":"^4.2.3","create-ecdh":"^4.0.4","create-hash":"^1.2.0","create-hmac":"^1.1.7","diffie-hellman":"^5.0.3","hash-base":"~3.0.4","inherits":"^2.0.4","pbkdf2":"^3.1.2","public-encrypt":"^4.0.3","randombytes":"^2.1.0","randomfill":"^1.0.4"},"devDependencies":{"@ljharb/eslint-config":"^21.1.1","eslint":"=8.8.0","hash-test-vectors":"^1.3.2","nyc":"^10.3.2","object.entries":"^1.1.8","pseudorandombytes":"^2.0.0","safe-buffer":"^5.2.1","semver":"^6.3.1","tape":"^5.9.0"},"browser":{"crypto":false},"license":"MIT","_id":"crypto-browserify@3.12.1","gitHead":"55476aca92a99c81fcc438519a4d55817fb455fc","bugs":{"url":"https://github.com/browserify/crypto-browserify/issues"},"_nodeVersion":"22.10.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-r4ESw/IlusD17lgQi1O20Fa3qNnsckR126TdUuBgAu7GBYSIPvdNyONd3Zrxh0xCwA4+6w/TDArBPsMvhur+KQ==","shasum":"bb8921bec9acc81633379aa8f52d69b0b69e0dac","tarball":"http://registry-npm.ywwl.com/crypto-browserify/download/crypto-browserify-3.12.1.tgz","fileCount":28,"unpackedSize":56013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3n5fOMSRpm8sMdzblhR8p6Zg3ZB9pWuSSlkhiY4JoAgIgTr11Hg0c6GD8iAWBLv+3szvaEnZfX55eVcd4UxWDd7Y="}],"size":17139,"noattachment":false,"key":"/crypto-browserify/-/crypto-browserify-3.12.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"dcousens","email":"npm2023@dcousens.com"},{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"indutny","email":"blackhole@livebox.sh"},{"name":"jprichardson","email":"jprichardson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crypto-browserify_3.12.1_1729619237605_0.9110164119138635"},"_hasShrinkwrap":false,"readme":"# crypto-browserify <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\nA port of node's `crypto` module to the browser.\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/crypto-browserify.svg)](https://saucelabs.com/u/crypto-browserify)\n\n[![npm badge][npm-badge-png]][package-url]\n\nThe goal of this module is to reimplement node's crypto module, in pure javascript so that it can run in the browser.\n\nHere is the subset that is currently implemented:\n\n* createHash (sha1, sha224, sha256, sha384, sha512, md5, rmd160)\n* createHmac (sha1, sha224, sha256, sha384, sha512, md5, rmd160)\n* pbkdf2\n* pbkdf2Sync\n* randomBytes\n* pseudoRandomBytes\n* createCipher (aes)\n* createDecipher (aes)\n* createDiffieHellman\n* createSign (rsa, ecdsa)\n* createVerify (rsa, ecdsa)\n* createECDH (secp256k1)\n* publicEncrypt/privateDecrypt (rsa)\n* privateEncrypt/publicDecrypt (rsa)\n\n## todo\n\nthese features from node's `crypto` are still unimplemented.\n\n* createCredentials\n\n## contributions\n\nIf you are interested in writing a feature, please implement as a new module,\nwhich will be incorporated into crypto-browserify as a dependency.\n\nAll deps must be compatible with node's crypto\n(generate example inputs and outputs with node, and save base64 strings inside JSON, so that tests can run in the browser)\nsee [sha.js](https://github.com/dominictarr/sha.js)\n\nCrypto is _extra serious_ so please do not hesitate to review the code, and post comments if you do.\n\n## License\n\nMIT\n\n[package-url]: https://npmjs.org/package/crypto-browserify\n[npm-version-svg]: https://versionbadg.es/browserify/crypto-browserify.svg\n[deps-svg]: https://david-dm.org/browserify/crypto-browserify.svg\n[deps-url]: https://david-dm.org/browserify/crypto-browserify\n[dev-deps-svg]: https://david-dm.org/browserify/crypto-browserify/dev-status.svg\n[dev-deps-url]: https://david-dm.org/browserify/crypto-browserify#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/crypto-browserify.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/crypto-browserify.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/crypto-browserify.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=crypto-browserify\n[codecov-image]: https://codecov.io/gh/browserify/crypto-browserify/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/browserify/crypto-browserify/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/browserify/crypto-browserify\n[actions-url]: https://github.com/browserify/crypto-browserify/actions\n","publish_time":1729619237820,"_cnpm_publish_time":1729619237820,"dist-tags":{"latest":"3.12.1"}}