UNPKG

signify-ts

Version:

Signing at the edge for KERI, ACDC, and KERIA

11 lines (10 loc) 519 B
import { Matter, MatterArgs } from './matter.ts'; import { Signer } from './signer.ts'; import { Cipher } from './cipher.ts'; import { Salter } from './salter.ts'; export declare class Decrypter extends Matter { private readonly _decrypt; constructor({ raw, code, qb64, qb64b, qb2 }: MatterArgs, seed?: Uint8Array | undefined); decrypt(ser?: Uint8Array | null, cipher?: Cipher | null, transferable?: boolean): any; _x25519(cipher: Cipher, prikey: Uint8Array, transferable?: boolean): Signer | Salter; }