]> git.deb.at Git - rhonda/impostor.hazel.git/commit
Add Sha256Stream
authorMatthew Endsley <mendsley@gmail.com>
Mon, 12 Apr 2021 20:08:20 +0000 (13:08 -0700)
committerMatthew Endsley <mendsley@gmail.com>
Tue, 13 Apr 2021 17:42:57 +0000 (10:42 -0700)
commit23e6503fcccf259bf438a5e59e4a95a82f578e01
tree40142611d741f5f637a1080c112948f88fa42cd6
parent1efded797c3fb4b7f00d9f4f5f1bdaf88afb7481
Add Sha256Stream

This commit simply moves the MemoryStream/SHA256 combination into a
dedicated class and adds unit tests for SHA256 from the original FIPS
publication [1]

[1] https://csrc.nist.gov/csrc/media/publications/fips/180/2/archive/2002-08-01/documents/fips180-2withchangenotice.pdf
Hazel.UnitTests/Crypto/Sha256Tests.cs [new file with mode: 0644]
Hazel.UnitTests/Hazel.UnitTests.csproj
Hazel/Crypto/Sha256Stream.cs [new file with mode: 0644]
Hazel/Dtls/DtlsConnectionListener.cs
Hazel/Dtls/DtlsUnityConnection.cs
Hazel/Hazel.csproj