UNPKG

@hazae41/berith

Version:

WebAssembly port of Ed25519 signatures and X25519 key exchange

22 lines (18 loc) 773 B
'use strict'; var berith = require('../../../wasm/pkg/berith.cjs'); var berith_wasm = require('../../../wasm/pkg/berith.wasm.cjs'); let output = undefined; async function initBundledOnce() { return output ??= await berith.__wbg_init(berith_wasm.data); } exports.Ed25519Signature = berith.Ed25519Signature; exports.Ed25519SigningKey = berith.Ed25519SigningKey; exports.Ed25519VerifyingKey = berith.Ed25519VerifyingKey; exports.Memory = berith.Memory; exports.X25519PublicKey = berith.X25519PublicKey; exports.X25519SharedSecret = berith.X25519SharedSecret; exports.X25519StaticSecret = berith.X25519StaticSecret; exports.__wbg_init = berith.__wbg_init; exports.initSync = berith.initSync; exports.initBundledOnce = initBundledOnce; //# sourceMappingURL=index.cjs.map