UNPKG

@julesl23/s5js

Version:

Enhanced TypeScript SDK for S5 decentralized storage with path-based API, media processing, and directory utilities

16 lines 436 B
/// /// This implementation follows the S5 v1 spec at https://docs.sfive.net/spec/api-interface.html /// import { mkeyEd25519 } from "../constants.js"; export class KeyPairEd25519 { privKey; pubKey; constructor(privKey, pubKey) { this.privKey = privKey; this.pubKey = pubKey; } get publicKey() { return new Uint8Array([mkeyEd25519, ...this.pubKey]); } } //# sourceMappingURL=crypto.js.map