diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-10-14 19:40:02 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-10-14 19:40:02 +0700 |
commit | 94173c7f8b2d87b28353b7e9ee8d0f2514f02875 (patch) | |
tree | bee9c940b4ada80b23e316386e64a945290d8306 /crypto/src/security/DigestUtilities.cs | |
parent | Move XDH/EdDSA key generation into low-level (diff) | |
download | BouncyCastle.NET-ed25519-94173c7f8b2d87b28353b7e9ee8d0f2514f02875.tar.xz |
Port of CVC-ECDSA and PLAIN-ECDSA from Java
Diffstat (limited to 'crypto/src/security/DigestUtilities.cs')
-rw-r--r-- | crypto/src/security/DigestUtilities.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/security/DigestUtilities.cs b/crypto/src/security/DigestUtilities.cs index 445304196..24a68f63d 100644 --- a/crypto/src/security/DigestUtilities.cs +++ b/crypto/src/security/DigestUtilities.cs @@ -31,6 +31,7 @@ namespace Org.BouncyCastle.Security GOST3411_2012_256, GOST3411_2012_512, KECCAK_224, KECCAK_256, KECCAK_288, KECCAK_384, KECCAK_512, MD2, MD4, MD5, + NONE, RIPEMD128, RIPEMD160, RIPEMD256, RIPEMD320, SHA_1, SHA_224, SHA_256, SHA_384, SHA_512, SHA_512_224, SHA_512_256, @@ -222,6 +223,7 @@ namespace Org.BouncyCastle.Security case DigestAlgorithm.MD2: return new MD2Digest(); case DigestAlgorithm.MD4: return new MD4Digest(); case DigestAlgorithm.MD5: return new MD5Digest(); + case DigestAlgorithm.NONE: return new NullDigest(); case DigestAlgorithm.RIPEMD128: return new RipeMD128Digest(); case DigestAlgorithm.RIPEMD160: return new RipeMD160Digest(); case DigestAlgorithm.RIPEMD256: return new RipeMD256Digest(); |