IKeyedHashAlgorithm Interface

IKeyedHashAlgorithm

Namespace: Spring.Cryptography
IInterface
  Spring.Cryptography.IHashAlgorithm
    Spring.Cryptography.IKeyedHashAlgorithm
type
 IKeyedHashAlgorithm = interface(IHashAlgorithm)
 ['{0D6838E7-05C0-4874-86B0-732DF42105F5}']
 end;

The IKeyedHashAlgorithm type exposes the following members.

Show:
 NameDescription
HashSize

Gets the hash size, in bits, of the algorithm. (Inherited from IHashAlgorithm.)

Key

Gets or sets the key to use in the hash algorithm.

Top
Show:
 NameDescription
ComputeHash(Byte[])

Overloaded. Represents method ComputeHash(Byte[]). (Inherited from IHashAlgorithm.)

ComputeHash(Byte[],Integer,Integer)

Overloaded. Represents method ComputeHash(Byte[],Integer,Integer). (Inherited from IHashAlgorithm.)

ComputeHash(Pointer,Integer)

Overloaded. Represents method ComputeHash(Pointer,Integer). (Inherited from IHashAlgorithm.)

ComputeHash(RawByteString)

Overloaded. Represents method ComputeHash(RawByteString). (Inherited from IHashAlgorithm.)

ComputeHash(string)

Overloaded. Represents method ComputeHash(string). (Inherited from IHashAlgorithm.)

ComputeHash(TStream)

Overloaded. Represents method ComputeHash(TStream). (Inherited from IHashAlgorithm.)

ComputeHash(WideString)

Overloaded. Represents method ComputeHash(WideString). (Inherited from IHashAlgorithm.)

ComputeHashOfFile(string)

Represents method ComputeHashOfFile(string). (Inherited from IHashAlgorithm.)

GetHashSize

Represents method GetHashSize. (Inherited from IHashAlgorithm.)

GetKey

Represents method GetKey.

SetKey(TBuffer)

Represents method SetKey(TBuffer).

Top

From MSDN: A keyed hash algorithm is a key-dependent, one-way hash function used as a message authentication code. Only someone who knows the key can verify the hash. Keyed hash algorithms provide authenticity without secrecy.