C# 클래스 Goedel.Cryptography.CryptoProviderDigest

Base class for all cryptographic hash providers. Provides utility and convenience functions that are employed in derrived classes. This provides consistency when using either the built in .NET providers or those from other sources. Unlike the .NET API, the wrapper provider completely conceals the details of the cryptographic algorithm implementation. It is not necessary to observe block boundaries when using the TransformData methods.
상속: CryptoProviderBulk
파일 보기 프로젝트 열기: hallambaker/Mathematical-Mesh

공개 프로퍼티들

프로퍼티 타입 설명
HashAlgorithm System.Security.Cryptography.HashAlgorithm

공개 메소드들

메소드 설명
Initialize ( ) : void

Initializes or re-initializes an instance.

Process ( byte Buffer, int offset, int count ) : CryptoData

Computes the hash value for the specified region of the specified byte array

TransformFinal ( ) : CryptoData

Terminates a part processing session and returns the result.

보호된 메소드들

메소드 설명
CryptoProviderDigest ( ) : System

Default constructor.

CryptoProviderDigest ( HashAlgorithm HashAlgorithm ) : System

Initializes an instance of the hash provider with the specified implementation.

메소드 상세

CryptoProviderDigest() 보호된 메소드

Default constructor.
protected CryptoProviderDigest ( ) : System
리턴 System

CryptoProviderDigest() 보호된 메소드

Initializes an instance of the hash provider with the specified implementation.
protected CryptoProviderDigest ( HashAlgorithm HashAlgorithm ) : System
HashAlgorithm System.Security.Cryptography.HashAlgorithm
리턴 System

Initialize() 공개 메소드

Initializes or re-initializes an instance.
public Initialize ( ) : void
리턴 void

Process() 공개 메소드

Computes the hash value for the specified region of the specified byte array
public Process ( byte Buffer, int offset, int count ) : CryptoData
Buffer byte The input to compute the hash code for.
offset int The offset into the byte array from which to begin using data.
count int The number of bytes in the array to use as data.
리턴 CryptoData

TransformFinal() 공개 메소드

Terminates a part processing session and returns the result.
public TransformFinal ( ) : CryptoData
리턴 CryptoData

프로퍼티 상세

HashAlgorithm 공개적으로 프로퍼티

Hash algorithm provider.
public HashAlgorithm,System.Security.Cryptography HashAlgorithm
리턴 System.Security.Cryptography.HashAlgorithm