Computes the hash value for the specified data using the specified algorithm.
Namespace:
Rebex.Security.Cryptography
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Shared Function ComputeHash ( _ algorithm As HashingAlgorithmId, _ input As Byte(), _ offset As Integer, _ count As Integer _ ) As Byte() |
C# |
---|
public static byte[] ComputeHash( HashingAlgorithmId algorithm, byte[] input, int offset, int count ) |
Parameters
- algorithm
- Type: Rebex.Security.Cryptography..::..HashingAlgorithmId
Hash algorithm.
- input
- Type: array<System..::..Byte>[]()[][]
Input data.
- offset
- Type: System..::..Int32
Input offset.
- count
- Type: System..::..Int32
Input length.