{"repo":"paulmillr/noble-ciphers","free":true,"listed":false,"github":"https://github.com/paulmillr/noble-ciphers","clone":"git clone https://github.com/paulmillr/noble-ciphers.git","description":"Audited & minimal JS implementation of Salsa20, ChaCha and AES","language":"TypeScript","stars":412,"topics":["aes-siv","chacha20","chacha20-poly1305","chacha20poly1305","cipher","cryptography","encryption","nacl","rfc8452","salsa20"],"license":"MIT","category":"security-tools","readme_excerpt":"noble-ciphers Audited & minimal JS implementation of Salsa20, ChaCha and AES. - 🔒 Audited by an independent security firm - 🪶 Minimal: 3KB (gzipped) ChaCha, unused code is excluded from your builds - 🏎 Fast: hand-optimized for caveats of JS engines - 🔍 Reliable: cross-library / wycheproof tests ensure correctness - 💼 AES: ECB, CBC, CTR, CFB, GCM, GCM-SIV & AES-SIV, AESKW, AESKWP, FF1 - 💃 Salsa20, ChaCha, XSalsa20, XChaCha, ChaCha8, ChaCha12, Poly1305, rngChaCha8 - 🥈 Wrapper with identical API over native WebCrypto This library belongs to noble cryptography noble cryptography — high-security, easily auditable set of contained cryptographic libraries and tools. - Zero or minimal dependencies - Highly readable TypeScript / JS code - PGP-signed releases and transparent NPM builds - All libraries: ciphers, curves, hashes, post-quantum, 5kb secp256k1 / ed25519 - WASM version: awasm-noble - Check out the homepage for reading resources, documentation, and apps built with noble Usage npm install @noble/ciphers deno add jsr:@noble/ciphers We support all major platforms and runtimes. For React Native, you may need a polyfill for getRandomValues. A standalone file noble-ciphers.js is also available. - Examples - XChaCha20-Poly1305 encryption - AES-256-GCM encryption - managedNonce: automatic nonce handling - AES: gcm, siv, ctr, cfb, cbc, ecb, aeskw - AES: friendly WebCrypto wrapper - Reuse array for input and output - Randomness generation - Use password for encryption - Internals","default_branch":null,"files":null,"tree":[],"storefront":"/r/paulmillr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/paulmillr/noble-ciphers/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."}