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

HashingAlgorithm Class

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

Represents a hash algorithm.

Syntax
public class HashingAlgorithm : IDisposable
Inheritance
Object
HashingAlgorithm
Implements
IDisposable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
HashingAlgorithm(HashingAlgorithmId)

Creates an instance of HashingAlgorithmId for the specified algorithm.

Properties

Name Description
Algorithm

Gets algorithm ID.

HashSize

Gets the size of the computed hash code (in bits).

KeyMode

Gets or sets the algorithm's key mode.

Methods

Name Description
ComputeHash(HashingAlgorithmId, Byte[])

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

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

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

ComputeHash(Byte[])

Computes the hash value for the specified data.

ComputeHash(Byte[], Int32, Int32)

Computes the hash value for the specified data.

CreateTransform()

Creates a hash transform object for this algorithm based on the currently set parameters.

Dispose()

Disposes the object.

GetKey()

Gets the current key.

IsSupported(HashingAlgorithmId)

Gets a value indicating whether the specified algorithm is supported.

SetKey(Byte[])

Sets the current key to the specified value.

ToHashAlgorithm()

Creates a hash transform object for this algorithm based on the currently set parameters.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies