import { type ICryptoDriver } from "https://deno.land/x/earthstar@v10.0.0-alpha.3/src/crypto/crypto-types.ts";
A crypto driver provides low-level access to an implementation providing ed25519 cryptography, e.g. Chloride, noble/ed25519, Node crypto.
Methods
updatableSha256(): UpdatableHash<any>
generateKeypairBytes(): Promise<KeypairBytes>
sign(keypairBytes: KeypairBytes, msg: string | Uint8Array): Promise<Uint8Array>