public void TestEncryptionAndDecryption() { var key = AesEncryptionProvider.InitializeEncryptionKey(); var encrypted = AesEncryptionProvider.Encrypt(key, Data); var decrypted = AesEncryptionProvider.Decrypt(key, encrypted); Assert.AreEqual(Data, decrypted); }
public void TestEncryption() { var key = AesEncryptionProvider.InitializeEncryptionKey(); AesEncryptionProvider.Encrypt(key, Data); }
public void TestRandomKey() { AesEncryptionProvider.InitializeEncryptionKey(); }