export declare const aesKey: string;
export declare function createAesKey(): string;
export declare const iv: any;
/**
 * AES 加密
 * @param word 待加密字段
 * @param keyStr 加密 key
 * @returns {string} 返回加密字段
 */
export declare function aesEncrypt(word: any, keyStr: string): string;
/**
 * AES 解密
 * @param word 待解密数据
 * @param keyStr 解密 key
 * @returns {string} 返回解密字符串
 */
export declare function aesDecrypt(word: any, keyStr: string): any;
/**
 * RSA 设置公钥
 * @param val 公钥
 */
export declare function setPublicKey(val: string): void;
/**
 * RSA 加密
 * @param data 待加密数据
 * @returns {PromiseLike<ArrayBuffer>} 返回加密字符串
 */
export declare function rsaEncrypt(data: any): string | false;
export declare function hasEncryptUrl(url?: string): boolean;
export declare function encryptData(config: any, context: string): void;
export declare function decryptData(config: any, context: string): void;
