Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/earthstar/src/cinn25519/ed25519/ed25519.webcrypto_nonextractable.ts>Ed25519webcryptoNonExtractable

Storage for private, distributed, offline-first applications.
Go to Latest
class Ed25519webcryptoNonExtractable
import { Ed25519webcryptoNonExtractable } from "https://deno.land/x/earthstar@11.0.0-beta.2/src/cinn25519/ed25519/ed25519.webcrypto_nonextractable.ts";

Methods

generateKeypair(): Promise<{ publicKey: Uint8Array; secretKey: CryptoKey; }>
sign(bytes: Uint8Array, secretKey: CryptoKey): Promise<Uint8Array>
verify(
publicKey: Uint8Array,
signature: Uint8Array,
bytes: Uint8Array,
): Promise<boolean>