@zuiwoxing/posisi
Version:
一款基于typescript 前端控制组件,包括(IOC,AOP,Feign,Logger,Util等)
20 lines (19 loc) • 361 B
TypeScript
/**
*@desc
*@author liudejian
*@date 2020-06-26 20:56
**/
export declare class RsaUtil {
private static RSA_PRIVATE_KEY;
private static RSA_PUBLIC_KEY;
/**
* 公钥加密
* @param word
*/
static encrypt(word: string): string;
/**
* 私钥解密
* @param word
*/
static descrypt(word: string): string;
}