HashCompute Method
Computes a hash of the specified data using the given hash algorithm.
Namespace: SnapDB.SecurityAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static byte[] Compute(
IDigest hash,
byte[] data
)
Public Shared Function Compute (
hash As IDigest,
data As Byte()
) As Byte()
public:
static array<unsigned char>^ Compute(
IDigest^ hash,
array<unsigned char>^ data
)
SnapDB.Security.Hash.Compute = function(hash, data);
- hash IDigest
- The hash algorithm to use.
- data Byte
- The data to hash.
ByteThe computed hash as a byte array.