C# 클래스 nHydrate.Generator.Common.Util.CRC32HashAlgorithm

상속: System.Security.Cryptography.HashAlgorithm
파일 보기 프로젝트 열기: nHydrate/nHydrate 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
AllOnes uint
autoCache bool
cachedCRC32Tables System.Collections.Hashtable
crc32Table uint[]

공개 메소드들

메소드 설명
CRC32HashAlgorithm ( uint aPolynomial ) : System.Collections

Creates a CRC32HashAlgorithm object using the specified Creates a CRC32HashAlgorithm object

CRC32HashAlgorithm ( uint aPolynomial, bool cacheTable ) : System.Collections

Construct the

ClearCache ( ) : void
ComputeHash ( Stream inputStream ) : byte[]

Computes the hash value for the specified Stream.

ComputeHash ( byte buffer ) : byte[]

Overloaded. Computes the hash value for the input data.

ComputeHash ( byte buffer, int offset, int count ) : byte[]

Overloaded. Computes the hash value for the input data.

ComputeHash ( string s ) : byte[]

Overloaded. Computes the hash value for the input data.

Initialize ( ) : void

Initializes an implementation of HashAlgorithm.

보호된 메소드들

메소드 설명
BuildCRC32Table ( uint ulPolynomial ) : uint[]

Builds a crc32 table given a polynomial

HashCore ( byte buffer, int offset, int count ) : void

HashFinal ( ) : byte[]

비공개 메소드들

메소드 설명
CRC32HashAlgorithm ( ) : System.Collections

Initialize the cache

메소드 상세

BuildCRC32Table() 보호된 정적인 메소드

Builds a crc32 table given a polynomial
protected static BuildCRC32Table ( uint ulPolynomial ) : uint[]
ulPolynomial uint
리턴 uint[]

CRC32HashAlgorithm() 공개 메소드

Creates a CRC32HashAlgorithm object using the specified Creates a CRC32HashAlgorithm object
public CRC32HashAlgorithm ( uint aPolynomial ) : System.Collections
aPolynomial uint
리턴 System.Collections

CRC32HashAlgorithm() 공개 메소드

Construct the
public CRC32HashAlgorithm ( uint aPolynomial, bool cacheTable ) : System.Collections
aPolynomial uint
cacheTable bool
리턴 System.Collections

ClearCache() 공개 정적인 메소드

public static ClearCache ( ) : void
리턴 void

ComputeHash() 공개 메소드

Computes the hash value for the specified Stream.
public ComputeHash ( Stream inputStream ) : byte[]
inputStream System.IO.Stream
리턴 byte[]

ComputeHash() 공개 메소드

Overloaded. Computes the hash value for the input data.
public ComputeHash ( byte buffer ) : byte[]
buffer byte
리턴 byte[]

ComputeHash() 공개 메소드

Overloaded. Computes the hash value for the input data.
public ComputeHash ( byte buffer, int offset, int count ) : byte[]
buffer byte
offset int
count int
리턴 byte[]

ComputeHash() 공개 메소드

Overloaded. Computes the hash value for the input data.
public ComputeHash ( string s ) : byte[]
s string
리턴 byte[]

HashCore() 보호된 메소드

protected HashCore ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void

HashFinal() 보호된 메소드

protected HashFinal ( ) : byte[]
리턴 byte[]

Initialize() 공개 메소드

Initializes an implementation of HashAlgorithm.
public Initialize ( ) : void
리턴 void

프로퍼티 상세

AllOnes 보호되어 있는 정적으로 프로퍼티

protected static uint AllOnes
리턴 uint

autoCache 보호되어 있는 정적으로 프로퍼티

protected static bool autoCache
리턴 bool

cachedCRC32Tables 보호되어 있는 정적으로 프로퍼티

protected static Hashtable,System.Collections cachedCRC32Tables
리턴 System.Collections.Hashtable

crc32Table 보호되어 있는 프로퍼티

protected uint[] crc32Table
리턴 uint[]