Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Security.Cryptography.Algorithms/tests/Sha384Tests.cs')
-rw-r--r--src/System.Security.Cryptography.Algorithms/tests/Sha384Tests.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/System.Security.Cryptography.Algorithms/tests/Sha384Tests.cs b/src/System.Security.Cryptography.Algorithms/tests/Sha384Tests.cs
index 52f30aaa74..3525283a5a 100644
--- a/src/System.Security.Cryptography.Algorithms/tests/Sha384Tests.cs
+++ b/src/System.Security.Cryptography.Algorithms/tests/Sha384Tests.cs
@@ -13,6 +13,14 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
return SHA384.Create();
}
+ [Fact]
+ public void Sha384_Empty()
+ {
+ Verify(
+ Array.Empty<byte>(),
+ "38B060A751AC96384CD9327EB1B1E36A21FDB71114BE07434C0CC7BF63F6E1DA274EDEBFE76F65FBD51AD2F14898B95B");
+ }
+
// These test cases are from http://csrc.nist.gov/groups/ST/toolkit/documents/Examples/SHA_All.pdf
[Fact]
public void Sha384_NistShaAll_1()