Beispiel #1
0
 public static AesEncryptionHandler AesEncryptionWithCompression(this IEnvironmentConfiguration config)
 {
     return(string.IsNullOrEmpty(config.EncryptionKey()) ? null : new AesEncryptionHandler(Convert.FromBase64String(config.EncryptionKey()), true, config.EncryptionKeySize()));
 }