Click or drag to resize
Crc64 Class
A class that can calculate CRC64 checksums on a set of arbitrary bytes.
Inheritance Hierarchy
SystemObject
  VirtualRadar.InterfaceCrc64

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Crc64

The Crc64 type exposes the following members.

Constructors
  NameDescription
Public methodCrc64
Creates a new object.
Top
Methods
  NameDescription
Public methodComputeChecksum
Calculates the checksum on the bytes passed across.
Public methodComputeChecksumBytes
Calculates an eight-byte checksum on the bytes passed across.
Public methodComputeChecksumString
Calculates the checksum on the bytes passed across and returns it as a string of digit characters of a fixed length.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public field_LookupTable
The table of pre-calculated checksum values for all 256 values of a byte.
Top
Remarks
Pretty much lifted straight from the Sanity Free coding blog, but switched around to use a 64-bit polynominal and 64-bit values instead of 32-bit. See http://sanity-free.org/12/crc32_implementation_in_csharp.html for the original 32-bit version.
See Also