public static string GetAppKeyEncoded() { if (appKey == null) { appKey = EncryptionUtils.CreateAesKeyBC(); } return(Convert.ToBase64String(appKey)); }
public static byte[] GetAppKeyBytes() { if (appKey == null) { appKey = EncryptionUtils.CreateAesKeyBC(); } return(appKey); }