UNPKG

age-encryption

Version:

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/FiloSottile/age/blob/main/logo/logo_white.svg"> <source media="(prefers-color-scheme: light)" srcset="https://github.com/FiloSottile/a

5 lines (4 loc) 336 B
export declare function decryptSTREAM(key: Uint8Array): TransformStream<Uint8Array, Uint8Array>; export declare function plaintextSize(ciphertextSize: number): number; export declare function encryptSTREAM(key: Uint8Array): TransformStream<Uint8Array, Uint8Array>; export declare function ciphertextSize(plaintextSize: number): number;