signify-ts
Version:
Signing at the edge for KERI, ACDC, and KERIA
10 lines (9 loc) • 432 B
TypeScript
import { Matter, MatterArgs } from './matter.ts';
import { Cipher } from './cipher.ts';
export declare class Encrypter extends Matter {
private _encrypt;
constructor({ raw, code, qb64, qb64b, qb2 }: MatterArgs, verkey?: Uint8Array | null);
verifySeed(seed: Uint8Array): boolean;
encrypt(ser?: Uint8Array | null, matter?: Matter | null): any;
_x25519(ser: Uint8Array, pubkey: Uint8Array, code: string): Cipher;
}