@oslojs/crypto documentation

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

Installation

npm i @oslojs/crypto