C# Class WebApplications.Utilities.Cryptography.HashingCryptographyProvider

Base class for all hashing cryptographic providers.
Inheritance: CryptographyProvider
Mostrar archivo Open project: webappsuk/CoreLibraries Class Usage Examples

Public Methods

Method Description
GetDecryptor ( ) : ICryptoTransform
GetEncryptor ( ) : ICryptoTransform

Protected Methods

Method Description
HashingCryptographyProvider ( [ name, [ configuration ) : System

Initializes a new instance of the HashingCryptographyProvider class.

Private Methods

Method Description
ComputeHash ( [ input ) : byte[]
ComputeHash ( [ buffer, int offset, int count = -1 ) : byte[]
ComputeHashString ( [ input ) : string
ComputeHashString ( [ buffer, int offset, int count = -1 ) : string
Create ( [ name, [ algorithm, [ configurationElement = null ) : HashingCryptographyProvider
GetAlgorithm ( ) : HashAlgorithm
GetHash ( [ input, [ algorithm = null ) : byte[]
GetHash ( [ buffer, int offset, int count = -1, [ algorithm = null ) : byte[]
GetHashString ( [ input, [ algorithm = null ) : string
GetHashString ( [ buffer, int offset, int count = -1, [ algorithm = null ) : string

Method Details

GetDecryptor() public final method

public final GetDecryptor ( ) : ICryptoTransform
return ICryptoTransform

GetEncryptor() public final method

public final GetEncryptor ( ) : ICryptoTransform
return ICryptoTransform

HashingCryptographyProvider() protected method

Initializes a new instance of the HashingCryptographyProvider class.
protected HashingCryptographyProvider ( [ name, [ configuration ) : System
name [ The name.
configuration [ The configuration.
return System