From c20b114c0ebfa26db0809abaaadcb1d8db8a0241 Mon Sep 17 00:00:00 2001 From: Evan Dixon Date: Thu, 10 Nov 2016 09:51:02 -0600 Subject: [PATCH] Changed AesManaged to AesCryptoServiceProvider --- PKHeX/Saves/Substructures/MemeCrypto.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKHeX/Saves/Substructures/MemeCrypto.cs b/PKHeX/Saves/Substructures/MemeCrypto.cs index cdee6f57a..83744f26b 100644 --- a/PKHeX/Saves/Substructures/MemeCrypto.cs +++ b/PKHeX/Saves/Substructures/MemeCrypto.cs @@ -14,7 +14,7 @@ namespace PKHeX { using (MemoryStream ms = new MemoryStream()) { - using (var aes = new AesManaged()) + using (var aes = new AesCryptoServiceProvider()) { aes.Mode = CipherMode.ECB; aes.Padding = PaddingMode.None; @@ -34,7 +34,7 @@ namespace PKHeX { using (MemoryStream ms = new MemoryStream()) { - using (var aes = new AesManaged()) + using (var aes = new AesCryptoServiceProvider()) { aes.Mode = CipherMode.ECB; aes.Padding = PaddingMode.None;