TupleHash Class

TupleHash - a hash designed to simply hash a tuple of input strings, any or all of which may be empty strings, in an unambiguous way with an optional XOF mode.

From NIST Special Publication 800-185 - SHA-3 Derived Functions:cSHAKE, KMAC, TupleHash and ParallelHash

Definition

Namespace: Org.BouncyCastle.Crypto.Digests
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public class TupleHash : IXof, IDigest
Inheritance
Object    TupleHash
Implements
IDigest, IXof

Constructors

TupleHash(TupleHash)Initializes a new instance of the TupleHash class
TupleHash(Int32, Byte)Initializes a new instance of the TupleHash class
TupleHash(Int32, Byte, Int32)Initializes a new instance of the TupleHash class

Properties

Methods

BlockUpdate(ReadOnlySpanByte) 
BlockUpdate(Byte, Int32, Int32) 
DoFinal(SpanByte) 
DoFinal(Byte, Int32) 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetByteLength 
GetDigestSize 
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Output(SpanByte) 
Output(Byte, Int32, Int32) 
OutputFinal(SpanByte) 
OutputFinal(Byte, Int32, Int32) 
Reset 
ToStringReturns a string that represents the current object.
(Inherited from Object)
Update 

See Also