wasSharpNET

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 2  →  ?path2? @ 3
/Cryptography/AES.cs
@@ -9,17 +9,16 @@
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
 
namespace wasSharpNET.Cryptography
{
public class AES
{
private static readonly RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider();
private const int AES_BLOCK_SIZE = 128;
private const CipherMode AES_CIPHER_MODE = CipherMode.CBC;
private const PaddingMode AES_PADDING_MODE = PaddingMode.PKCS7;
private const int AES_KEY_SALT_BYTES = 16;
private static readonly RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider();
 
///////////////////////////////////////////////////////////////////////////
// Copyright (C) Wizardry and Steamworks 2016 - License: GNU GPLv3 //