diff --git a/NetCrypsi.Lib/Src/Rsax/Encryption.cs b/NetCrypsi.Lib/Src/Rsax/Encryption.cs index f5e4387..b15270f 100644 --- a/NetCrypsi.Lib/Src/Rsax/Encryption.cs +++ b/NetCrypsi.Lib/Src/Rsax/Encryption.cs @@ -96,11 +96,6 @@ private static void Validate(byte[] key, byte[] data, HashAlgorithmName algorith { throw new ArgumentException("data cannot be null"); } - - if (algorithmName == null) - { - throw new ArgumentException("algorithmName cannot be null"); - } } // Encrypt