export declare function md5(string: string): Promise<string>;
export declare function hmacSha256(key: string, data: string): Promise<string>;
/**
 * AES CBC 加密
 */
export declare function encryptAES(message: string, key: string): Promise<string>;
/**
 * DES ECB 加密
 */
export declare function encryptDES(message: string | number, key: string): Promise<string>;
export interface DESRule {
    cipher?: string;
    is_encrypt: number;
    key?: string;
    obfuscated_name: string;
}
export declare function encryptObjectByDESRules(object: Record<string, string | number>, rules: Record<string, DESRule>): Promise<Record<string, string | number>>;
export declare function encryptRSA(message: string, publicKey: string): Promise<string>;
