ChaCha20Poly1305
ChaCha20Poly1305 adapter for WebAssembly and JS implementations
npm i @hazae41/chacha20poly1305
Features
Current features
- 100% TypeScript and ESM
- No external dependencies
Usage
Zepar (WebAssembly)
npm i @hazae41/zepar
import { ChaCha20Poly1305 } from "@hazae41/chacha20poly1305"
ChaCha20Poly1305.set(await ChaCha20Poly1305.fromZepar())
Noble (JavaScript)
npm i @noble/ciphers
import { ChaCha20Poly1305 } from "@hazae41/chacha20poly1305"
ChaCha20Poly1305.set(ChaCha20Poly1305.fromNoble())