示例#1
0
 public static string GetAppKeyEncoded()
 {
     if (appKey == null)
     {
         appKey = EncryptionUtils.CreateAesKeyBC();
     }
     return(Convert.ToBase64String(appKey));
 }
示例#2
0
 public static byte[] GetAppKeyBytes()
 {
     if (appKey == null)
     {
         appKey = EncryptionUtils.CreateAesKeyBC();
     }
     return(appKey);
 }