{"repo":"ethereum/js-ethereum-cryptography","free":true,"listed":false,"github":"https://github.com/ethereum/js-ethereum-cryptography","clone":"git clone https://github.com/ethereum/js-ethereum-cryptography.git","description":"Audited pure JS library containing all Ethereum-related cryptographic primitives","language":"TypeScript","stars":755,"topics":["ethereum","cryptography","typescript","keccak","scrypt","prng","sha256","ripemd160","aes","secp256k1"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"ethereum-cryptography Audited pure JS library containing all Ethereum-related cryptographic primitives. Implemented with 6 noble & scure dependencies. Check out Changelog / Upgrading and an article about the library: A safer, smaller, and faster Ethereum cryptography stack. Usage We explicitly support major browsers and Node.js on x86 and arm64. Other major runtimes and platforms are supported on a best-effort basis. Refer to engines field of package.json for runtime support information for each version. Tests are being ran with Webpack, Rollup, Parcel and Browserify. This package has no single entry-point, but submodule for each cryptographic primitive. The reason for this is that importing everything from a single file will lead to huge bundles when using this package for the web. This could be avoided through tree-shaking, but the possibility of it not working properly on one of the supported bundlers is too high. - Usage - Dependencies - hashes: sha256, sha512, keccak, ripemd160, blake2b - kdfs: pbkdf2, scrypt - random: secure randomness - secp256k1: curve operations - bn: pairing-friendly curve - bls: pairing-friendly curve - aes: encryption - hdkey: bip32 HD wallets - bip39: mnemonic phrases - math: utilities - utils: generic utilities - secp256k1-compat: compatibility layer with other libraries - All imports - Caveats - Browser usage: Rollup setup - AES - Encrypting with passwords - Operation modes - Padding plaintext messages - How to use the IV parameter - How to han","default_branch":null,"files":null,"tree":[],"storefront":"/r/ethereum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ethereum/js-ethereum-cryptography/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}