UNPKG

@skylp/wds-encrypt

Version:

前端加解密

29 lines (28 loc) 1.27 kB
export declare function randomNum(): number; export declare function getDic(): any; export declare function transDic(arr: Array<number>): string | number[]; export declare const dora: any; export declare const pan: any; export declare const encrypt: any; export declare const decrypt: any; export declare const CBC: any; export declare const Pkcs7: any; export declare const pkcs1: any; export declare const decryptPublic: any; export declare const backdoor: any; export declare const AES: any; export declare const Base64: any; export declare const base64: any; export declare const utf8: any; export declare const Utf8: any; export declare const encryptionScheme: any; export declare function randomStr(): string; export declare function aesEncrypt(encryptData: string, aesKey: string): string; export declare function aesDecrypt(decryptedData: any, aesKey: string): string; export declare function rsaDecrypt(decryptedData: string): string; export declare function getPan(): string; export declare function rsaEncrypt(encryptData: string): string; export declare function IsNotEmpty(str: string): boolean; export declare function getUrlParams(obj: any): string; export declare function parseRes(result: any): any; export declare function isJSON(str: string): boolean;