These classes are marked as sealed (static) in netstandard2.0 :
System.Security.Cryptography.SHA1Managed
System.Security.Cryptography.SHA256Managed
System.Security.Cryptography.SHA384Managed
System.Security.Cryptography.SHA512Managed
we can´t inherit so we can´t use HashCore nor HashFinal.
The implementation is just a wrapper/proxy of HashProvider but HashProvider is an internal class.
I can understand you don´t want us to use it but we need some alternative for some scenario where performances and memory usage are an issue. In my case I have to "manipulate" large streams during the hash calculation and to do it I need to use HashCore and HashFinal.
Is there a chance to remove the sealed just to the class?
related issue: #20870
These classes are marked as sealed (static) in netstandard2.0 :
System.Security.Cryptography.SHA1Managed
System.Security.Cryptography.SHA256Managed
System.Security.Cryptography.SHA384Managed
System.Security.Cryptography.SHA512Managed
we can´t inherit so we can´t use
HashCorenorHashFinal.The implementation is just a wrapper/proxy of
HashProviderbutHashProvideris aninternalclass.I can understand you don´t want us to use it but we need some alternative for some scenario where performances and memory usage are an issue. In my case I have to "manipulate" large streams during the hash calculation and to do it I need to use
HashCoreandHashFinal.Is there a chance to remove the
sealedjust to the class?related issue: #20870