JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q62304F
  • License MIT

Ed25519 adapter for WebAssembly and JS implementations

Package Exports

  • @hazae41/ed25519

Readme

Ed25519

Ed25519 adapter for WebAssembly and JS implementations

npm i @hazae41/ed25519

Node Package 📦

Features

Current features

  • 100% TypeScript and ESM
  • No external dependencies

Usage

Safe (WebCrypto)

https://github.com/tQsW/webcrypto-curve25519/blob/master/explainer.md

import { Ed25519 } from "@hazae41/ed25519"

Ed25519.set(Ed25519.fromSafe())

Berith (WebAssembly)

npm i @hazae41/berith
import { Ed25519 } from "@hazae41/ed25519"

Ed25519.set(await Ed25519.fromSafeOrBerith())

Noble (JavaScript)

npm i @noble/curves
import { Ed25519 } from "@hazae41/ed25519"

Ed25519.set(await Ed25519.fromSafeOrNoble())