/** * RC4 stream cipher (§7.6.2). Symmetric, so the same call both encrypts and * decrypts; used by the legacy V1/V2/V4 Standard security handlers. */ export declare function rc4(key: Uint8Array, data: Uint8Array): Uint8Array; /** MD5 digest (RFC 1321) → 16 bytes; the key-derivation hash for V1/V2/V4. */ export declare function md5(input: Uint8Array): Uint8Array; /** * SHA-1. Used by MS-OFFCRYPTO's standard encryption for its key derivation and * password verifier, and by agile encryption when the descriptor names it. */ export declare function sha1(input: Uint8Array): Uint8Array; export declare function sha256(input: Uint8Array): Uint8Array; export declare function sha512(input: Uint8Array): Uint8Array; export declare function sha384(input: Uint8Array): Uint8Array; export declare function aesCbcDecrypt(key: Uint8Array, iv: Uint8Array, data: Uint8Array, stripPad: boolean): Uint8Array; /** * AES-ECB decrypt — every block on its own key, no chaining. MS-OFFCRYPTO's * standard encryption uses it for both the verifier and the package. */ export declare function aesEcbDecrypt(key: Uint8Array, data: Uint8Array): Uint8Array; export declare function aesCbcEncrypt(key: Uint8Array, iv: Uint8Array, data: Uint8Array): Uint8Array;