DigestExtensionsComputeHash(IDigest, Byte, Byte) Method
Computes the hash of the supplied words.
Namespace: SnapDB.SecurityAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static byte[] ComputeHash(
this IDigest hash,
byte[] word1,
byte[] word2
)
<ExtensionAttribute>
Public Shared Function ComputeHash (
hash As IDigest,
word1 As Byte(),
word2 As Byte()
) As Byte()
public:
[ExtensionAttribute]
static array<unsigned char>^ ComputeHash(
IDigest^ hash,
array<unsigned char>^ word1,
array<unsigned char>^ word2
)
SnapDB.Security.DigestExtensions.ComputeHash = function(hash, word1, word2);
- 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.
Byte
A byte array containing the computed hash.
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).