@spot-flow/checkout-inline-js
Version:
This project is an inline library that enables users to make payments seamlessly. It integrates smoothly into your application, providing a streamlined checkout experience.
9 lines (8 loc) • 448 B
TypeScript
export declare function stringTo256BitKey(string: string): Promise<Uint8Array>;
export declare function encryptData(plaintext: string, key: CryptoKey): Promise<{
cipher: Uint8Array;
iv: Uint8Array;
}>;
export declare function generateKey(key: string): Promise<CryptoKey>;
export declare function AESEncryption(text: string, secret: string): Promise<string>;
export declare function encryptModified(text: any, key: string): Promise<string>;