Method ComputeHash
ComputeHash(Byte[], Byte[])
Computes a new hash of the data
value using the
Declaration
byte[] ComputeHash(byte[] key, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | key | A byte array containing the key (secret) to hash the data with. |
System.Byte[] | data | A byte array that is the data to be hashed. |
Returns
Type | Description |
---|---|
System.Byte[] | A new bte array containing the hashed data. |