/** * AES CBC 模式加密,返回 base64 字符串 * @param plainText 明文(UTF-8 字符串) * @param keyHex 密钥(hex 字符串,32 或 64 位) * @param ivHex IV(hex 字符串) * @returns base64 编码的密文 */ export declare function aesCbcEncryptBase64(plainText: string, keyHex: string, ivHex: string): string; /** * AES CBC 模式解密,从 base64 字符串解密 * @param cipherB64 base64 编码的密文 * @param keyHex 密钥(hex 字符串,32 或 64 位) * @param ivHex IV(hex 字符串) * @returns 解密后的 UTF-8 字符串 */ export declare function aesCbcDecryptBase64(cipherB64: string, keyHex: string, ivHex: string): string; /** * AES CBC 模式加密 hex 字符串,返回 base64 * @param plainHex 明文的 hex 字符串(如 'FE00210120') * @param keyHex 密钥(hex 字符串,32 或 64 位) * @param ivHex IV(hex 字符串) * @returns base64 编码的密文 */ export declare function aesCbcEncryptBase64Hex(plainHex: string, keyHex: string, ivHex: string): string; /** * AES CBC 模式解密,从 base64 解密为 hex 字符串 * @param cipherB64 base64 编码的密文 * @param keyHex 密钥(hex 字符串,32 或 64 位) * @param ivHex IV(hex 字符串) * @returns 解密后的 hex 字符串(大写) */ /** * AES CBC 模式解密,从 base64 解密为 hex 字符串 * @param cipherB64 base64 编码的密文 * @param keyHex 密钥(hex 字符串,32 或 64 位) * @param ivHex IV(hex 字符串) * @returns 解密后的 hex 字符串(大写) */ export declare function aesCbcDecryptBase64ToHex(cipherB64: string, keyHex: string, ivHex: string): string; //# sourceMappingURL=aes.d.ts.map