C# 클래스 DamienG.Security.Cryptography.Crc64

Implements a 64-bit CRC hash algorithm for a given polynomial.
For ISO 3309 compliant 64-bit CRC's use Crc64Iso.
상속: System.Security.Cryptography.HashAlgorithm
파일 보기 프로젝트 열기: damieng/DamienGKit

공개 메소드들

메소드 설명
Crc64 ( System.UInt64 polynomial ) : System
Crc64 ( System.UInt64 polynomial, System.UInt64 seed ) : System
Initialize ( ) : void

보호된 메소드들

메소드 설명
CalculateHash ( System.UInt64 seed, System.UInt64 table, IList buffer, int start, int size ) : System.UInt64
CreateTable ( ulong polynomial ) : ulong[]
HashCore ( byte array, int ibStart, int cbSize ) : void
HashFinal ( ) : byte[]

비공개 메소드들

메소드 설명
InitializeTable ( System.UInt64 polynomial ) : System.UInt64[]
UInt64ToBigEndianBytes ( System.UInt64 value ) : byte[]

메소드 상세

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

protected static CalculateHash ( System.UInt64 seed, System.UInt64 table, IList buffer, int start, int size ) : System.UInt64
seed System.UInt64
table System.UInt64
buffer IList
start int
size int
리턴 System.UInt64

Crc64() 공개 메소드

public Crc64 ( System.UInt64 polynomial ) : System
polynomial System.UInt64
리턴 System

Crc64() 공개 메소드

public Crc64 ( System.UInt64 polynomial, System.UInt64 seed ) : System
polynomial System.UInt64
seed System.UInt64
리턴 System

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

protected static CreateTable ( ulong polynomial ) : ulong[]
polynomial ulong
리턴 ulong[]

HashCore() 보호된 메소드

protected HashCore ( byte array, int ibStart, int cbSize ) : void
array byte
ibStart int
cbSize int
리턴 void

HashFinal() 보호된 메소드

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

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void