Port MD4 managed implementation from mono/mono (#62074)
authorMaxim Lipnin <v-maxlip@microsoft.com>
Mon, 24 Jan 2022 08:04:22 +0000 (11:04 +0300)
committerGitHub <noreply@github.com>
Mon, 24 Jan 2022 08:04:22 +0000 (11:04 +0300)
commitf4bfd05ecea3e00b725a71a211501f60a4e863ba
treea729d9e97e6f3e185d447cdd5ce55bd88cfbd688
parent8cee8faa5becff0a1afc0d8d149fe5f43d675399
Port MD4 managed implementation from mono/mono (#62074)

Porting MD4 managed implementation from mono/mono (MD4.cs and MD4Managed.cs).

It adds:
- an internal class in the System.Net.Security with a single HashData method for now;
- a set of related MD 4 unit tests to System.Net.Security.Unit.Tests project.
src/libraries/System.Net.Security/src/System.Net.Security.csproj
src/libraries/System.Net.Security/src/System/Net/Security/MD4.cs [new file with mode: 0644]
src/libraries/System.Net.Security/tests/UnitTests/MD4Tests.cs [new file with mode: 0644]
src/libraries/System.Net.Security/tests/UnitTests/System.Net.Security.Unit.Tests.csproj