Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

HashingAlgorithm.ComputeHash Method

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)

ComputeHash(Byte[])

Computes the hash value for the specified data.

Declaration
public byte[] ComputeHash(byte[] input)
Parameters
Type Name Description
Byte[] input

Input data.

Returns
Type Description
Byte[]

Hash value.

ComputeHash(Byte[], Int32, Int32)

Computes the hash value for the specified data.

Declaration
public byte[] ComputeHash(byte[] input, int offset, int count)
Parameters
Type Name Description
Byte[] input

Input data.

Int32 offset

Input offset.

Int32 count

Input length.

Returns
Type Description
Byte[]

Hash value.

ComputeHash(HashingAlgorithmId, Byte[])

Computes the hash value for the specified data using the specified algorithm.

Declaration
public static byte[] ComputeHash(HashingAlgorithmId algorithm, byte[] input)
Parameters
Type Name Description
HashingAlgorithmId algorithm

Hash algorithm.

Byte[] input

Input data.

Returns
Type Description
Byte[]

Hash value.

ComputeHash(HashingAlgorithmId, Byte[], Int32, Int32)

Computes the hash value for the specified data using the specified algorithm.

Declaration
public static byte[] ComputeHash(HashingAlgorithmId algorithm, byte[] input, int offset, int count)
Parameters
Type Name Description
HashingAlgorithmId algorithm

Hash algorithm.

Byte[] input

Input data.

Int32 offset

Input offset.

Int32 count

Input length.

Returns
Type Description
Byte[]

Hash value.

In This Article
  • ComputeHash(Byte[])
  • ComputeHash(Byte[], Int32, Int32)
  • ComputeHash(HashingAlgorithmId, Byte[])
  • ComputeHash(HashingAlgorithmId, Byte[], Int32, Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies