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