# Functions
No description provided by the author
No description provided by the author
AESGCMDecrypt aes-gcm解密,返回明文字符串.
AESGCMEncrypt aes-gcm 加密,返回的密文由base64编码 GCM的nonce长度用的是标准的12个字符,gcmStandardNonceSize = 12, 建议采用标准长度.
GenerateRandomString 生成一个指定长度的随机字符串(只包含大小写字母与数字).
补码AES加密数据块分组长度必须为128bit(byte[16]),密钥长度可以是128bit(byte[16])、192bit(byte[24])、256bit(byte[32])中的任意一个。.
去码.
私钥解密, 返回明文字符串.
RSAEncrypt 公钥加密, 返回base64编码的密文.
# Constants
NonceLength 随机字符串的长度.
NonceSymbols 随机字符串可用字符集.
商户私钥.
平台证书公钥.