UNPKG

aead-stream

Version:

Authenticated encryption on arbitrary large files

11 lines (10 loc) 317 B
/// <reference types="node" /> import { CipherCCMTypes, CipherGCMTypes } from "crypto"; export type Options = { algorithm: CipherCCMTypes | CipherGCMTypes; nonceLength: number; authTagLength: number; chunkSize: number; associatedData?: Uint8Array; }; export declare const defaultOptions: Options;