UNPKG

aead-stream

Version:

Authenticated encryption on arbitrary large files

5 lines (4 loc) 233 B
export type WebDecryptOptions = { associatedData?: Uint8Array; }; export declare function webDecrypt(key: CryptoKey, ciphertext: AsyncIterable<Uint8Array>, options?: WebDecryptOptions): AsyncGenerator<Uint8Array, void, unknown>;