UNPKG

gzjs-utils

Version:

smart js utils

16 lines (15 loc) 351 B
export declare type MD5 = { /** * MD5 加密 * @param str */ encode(str: string): string | null | undefined; /** * hmac_md5 加密 * @param key 加密密钥 * @param str 加密内容 */ hmac_md5(key: string, str: string): string | null | undefined; }; declare const _MD5_: MD5; export default _MD5_;