DigestExtensionsComputeHash(IDigest, Byte, Byte) Method

Computes the hash of the supplied words.

Definition

Namespace: SnapDB.Security
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static byte[] ComputeHash(
	this IDigest hash,
	byte[] word1,
	byte[] word2
)

Parameters

hash  IDigest
The hash algorithm to use for computing the hash.
word1  Byte
The first byte array to include in the hash computation.
word2  Byte
The second byte array to include in the hash computation.

Return Value

Byte
A byte array containing the computed hash.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDigest. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also