Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow_utils/src/parameters/types.ts>SignatureScheme

TypeScript typings and utilities for the Willow protocol.
Latest
type alias SignatureScheme
import { type SignatureScheme } from "https://deno.land/x/willow_utils@1.0.0/src/parameters/types.ts";

A scheme for signing and verifying data using key pairs.

Type Parameters

PublicKey
SecretKey
Signature
definition: { sign: (
publicKey: PublicKey,
secretKey: SecretKey,
bytestring: Uint8Array,
) => Promise<Signature>; verify: (
publicKey: PublicKey,
signature: Signature,
bytestring: Uint8Array,
) => Promise<boolean>; }