The CRC32 type exposes the following members.

Constructors

  NameDescription
Public methodCRC32()()()()
Creates a CRC32 object using the DefaultPolynomial
Public methodCRC32(UInt32)
Creates a CRC32 object using the specified Creates a CRC32 object
Public methodCRC32(UInt32, Boolean)
Construct the CRC32 object

Methods

  NameDescription
Protected methodStatic memberBuildCRC32Table
Builds a crc32 table given a polynomial
Public methodClear
Releases all resources used by the HashAlgorithm class.
(Inherited from HashAlgorithm.)
Public methodStatic memberClearCache
Clear tables cache
Public methodComputeHash(array<Byte>[]()[][])
Overloaded. Computes the hash value for the input data.
Public methodComputeHash(Stream)
Computes the hash value for the specified Stream.
Public methodComputeHash(array<Byte>[]()[][], Int32, Int32)
Overloaded. Computes the hash value for the input data.
Public methodDispose()()()()
Releases all resources used by the current instance of the HashAlgorithm class.
(Inherited from HashAlgorithm.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the HashAlgorithm and optionally releases the managed resources.
(Inherited from HashAlgorithm.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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 methodHashCore
Updates and continues hash calculus
(Overrides HashAlgorithm..::..HashCore(array<Byte>[]()[][], Int32, Int32).)
Protected methodHashFinal
Return the CRC32 hash bytes
(Overrides HashAlgorithm..::..HashFinal()()()().)
Public methodInitialize
Initializes an implementation of HashAlgorithm.
(Overrides HashAlgorithm..::..Initialize()()()().)
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.)
Public methodTransformBlock
Computes the hash value for the specified region of the input byte array and copies the resulting hash value to the specified region of the output byte array.
(Inherited from HashAlgorithm.)
Public methodTransformFinalBlock
Computes the hash value for the specified region of the specified byte array.
(Inherited from HashAlgorithm.)

Fields

  NameDescription
Protected fieldHashSizeValue
Represents the size, in bits, of the computed hash code.
(Inherited from HashAlgorithm.)
Protected fieldHashValue
Represents the value of the computed hash code.
(Inherited from HashAlgorithm.)
Protected fieldState
Represents the state of the hash computation.
(Inherited from HashAlgorithm.)

Properties

  NameDescription
Public propertyStatic memberAutoCache
Gets or sets the auto-cache setting of this class.
Public propertyCanReuseTransform
Gets a value indicating whether the current transform can be reused.
(Inherited from HashAlgorithm.)
Public propertyCanTransformMultipleBlocks
When overridden in a derived class, gets a value indicating whether multiple blocks can be transformed.
(Inherited from HashAlgorithm.)
Public propertyStatic memberDefaultPolynomial
Returns the default polynomial (used in WinZip, Ethernet, etc)
Public propertyHash
Gets the value of the computed hash code.
(Inherited from HashAlgorithm.)
Public propertyHashSize
Gets the size, in bits, of the computed hash code.
(Inherited from HashAlgorithm.)
Public propertyInputBlockSize
When overridden in a derived class, gets the input block size.
(Inherited from HashAlgorithm.)
Public propertyOutputBlockSize
When overridden in a derived class, gets the output block size.
(Inherited from HashAlgorithm.)

See Also