UNPKG

aes-pkcs

Version:

AES 128/256, CBC mode, PKCS #5/7 Paddiong, Base64 encoding

31 lines 803 B
/** * Utility class for AES Encryption. * * - AES-128/256 * - CBC mode * - PKCS#5 Padding * - Base64 Encoding * * @author Jeongho Nam - https://github.com/samchon */ export declare namespace AesPkcs5 { /** * Encode data * * @param data Target data * @param key Key value of the encryption. * @param iv Initializer Vector for the encryption * @return Encoded data */ function encode(data: string, key: string, iv: string): string; /** * Decode data. * * @param data Target data * @param key Key value of the decryption. * @param iv Initializer Vector for the decryption * @return Decoded data. */ function decode(data: string, key: string, iv: string): string; } //# sourceMappingURL=AesPkcs5.d.ts.map