diff --git a/Crypto.asmdef b/Crypto.asmdef index b79e619..7571964 100644 --- a/Crypto.asmdef +++ b/Crypto.asmdef @@ -1,3 +1,8 @@ -{ - "name": "crypto.asmdef" -} +{ + "name": "Crypto", + "references": [], + "optionalUnityReferences": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false +} \ No newline at end of file diff --git a/SimpleAESEncryption.cs b/SimpleAESEncryption.cs index 4213e90..bc60b71 100644 --- a/SimpleAESEncryption.cs +++ b/SimpleAESEncryption.cs @@ -1,7 +1,6 @@ using System; using System.Security.Cryptography; using System.Text; -// ReSharper disable MemberCanBePrivate.Global namespace DUCK.Crypto { @@ -62,7 +61,7 @@ public static string Decrypt(AESEncryptedText encryptedText, string password) /// The original plainText string. public static string Decrypt(string encryptedText, string iv, string password) { - using (Aes aes = Aes.Create()) + using (var aes = Aes.Create()) { var ivBytes = Convert.FromBase64String(iv); var encryptedTextBytes = Convert.FromBase64String(encryptedText); diff --git a/Tests/Tests.asmdef b/Tests/Tests.asmdef index a454f25..bd7f1fa 100644 --- a/Tests/Tests.asmdef +++ b/Tests/Tests.asmdef @@ -1,7 +1,7 @@ { "name": "DUCK.Crypto", "references": [ - "crypto.asmdef" + "Crypto" ], "optionalUnityReferences": [ "TestAssemblies"