包详细信息

@oslojs/crypto

oslo-project1.1mMIT1.0.1

A very basic crypto library

auth, crypto, encoding, auth

自述文件

@oslojs/crypto documentation

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.

Installation

npm i @oslojs/crypto