interface OutputOptions

Options for the output of signing/verifying and for encryption/decryption.

The defaults are dependent on the key encoding: base58 and multibase for Multikeys, base64 and plain otherwise.

Properties

Base encoding choice for the generated signature. Can be base64 or base58

optional
format: "plain" | "multibase"

Format of the final signature: plain encoded text, or Multibase

Usage

import { type OutputOptions } from "lib/types.ts";