2.2.9 • Published 10 months ago
@hazae41/x25519 v2.2.9
X25519
X25519 adapter for WebAssembly and JS implementations
npm i @hazae41/x25519
Features
Current features
- 100% TypeScript and ESM
- No external dependencies
Usage
Native (WebCrypto)
https://github.com/tQsW/webcrypto-curve25519/blob/master/explainer.md
import { X25519 } from "@hazae41/x25519"
X25519.set(await X25519.fromNative())
WebAssembly
npm i @hazae41/x25519.wasm
import { X25519 } from "@hazae41/x25519"
import { X25519Wasm } from "@hazae41/x25519.wasm"
await X25519Wasm.initBundled()
X25519.set(await X25519.fromNativeOrWasm(X25519Wasm))
Noble (JavaScript)
npm i @noble/curves
import { X25519 } from "@hazae41/x25519"
import * as Ed25519Noble from "@noble/curves/ed25519"
X25519.set(await X25519.fromNativeOrNoble(Ed25519Noble))
2.2.9
10 months ago
2.2.8
11 months ago
2.2.1
11 months ago
2.2.0
11 months ago
2.2.3
11 months ago
2.2.2
11 months ago
2.2.5
11 months ago
2.2.7
11 months ago
2.2.6
11 months ago
2.1.2
2 years ago
2.1.1
2 years ago
2.0.2
2 years ago
2.1.4
2 years ago
2.1.3
2 years ago
2.1.0
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
1.0.0
2 years ago