UNPKG

cnpmcore

Version:
7 lines (6 loc) 261 B
export declare function genRSAKeys(): { publicKey: string; privateKey: string; }; export declare function encryptRSA(publicKey: string, plainText: string): string; export declare function decryptRSA(privateKey: string, encryptedBase64: string): string;