cngn-typescript-library
Version:
A lightweight Typescript library to give you the best experience with managing your cNGN merchant account
9 lines (8 loc) • 342 B
TypeScript
import { AESEncryptionResponse } from "./types";
export declare class AESCrypto {
private static readonly ALGORITHM;
private static readonly IV_LENGTH;
private static prepareKey;
static encrypt(data: string, key: string): AESEncryptionResponse;
static decrypt(encryptedData: AESEncryptionResponse, key: string): string;
}