Share via


HashAlgorithmProvider Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The HashAlgorithmProvider type exposes the following members.

Constructors

  Name Description
Public method HashAlgorithmProvider
Initialize a new instance of the HashAlgorithmProvider class with the HashAlgorithm type and if salt is enabled.

Methods

  Name Description
Public method CompareHash
Compares plain text input with a computed hash.
Public method CreateHash
Computes the hash value of plain text.
Protected method CreateHashWithSalt
Creates a hash with a specified salt.
Public method Equals (Inherited from Object.)
Protected method ExtractSalt
Extracts the salt from the hashedText.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetInstrumentationEventProvider
Gets the HashAlgorithmInstrumentationProvider instance that defines the logical events used to instrument this hash provider.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Fields

  Name Description
Public fieldStatic member SaltLength
Defines the salt length used by the provider.

Properties

  Name Description
Protected property AlgorithmType
Gets the HashAlgorithm type.
Protected property HashCryptographer
Gets the cryptographer used for hashing.
Protected property InstrumentationProvider
Gets the HashAlgorithmInstrumentationProvider instance that defines the logical events used to instrument this hash provider.

See Also

HashAlgorithmProvider Class

Microsoft.Practices.EnterpriseLibrary.Security.Cryptography Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.