Documentation: https://crypto.oslojs.dev
A basic JavaScript crypto library by Oslo. Includes APIs for SHA-1, SHA-2, SHA-3, HMAC, ECDSA, RSA, and cryptographically secure random generator.
- Runtime-agnostic
- No third-party dependencies
- Fully typed
Algorithms such as SHA and ECDSA are tested against NIST test vectors.
npm i @oslojs/crypto