Skip to content

1f2e7168 1f3f c493 7e7a 6d566f315fd9

yy edited this page Oct 15, 2018 · 1 revision

XXHash64 Class

Represents the class which provides a implementation of the xxHash64 algorithm.

Inheritance Hierarchy

System.Object
  System.Security.Cryptography.HashAlgorithm
    YYProject.XXHash.XXHash64
Namespace: YYProject.XXHash
Assembly: YYProject.XXHash (in YYProject.XXHash.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public sealed class XXHash64 : HashAlgorithm

The XXHash64 type exposes the following members.

Constructors

 

Name Description
Public method XXHash64() Initializes a new instance of the XXHash64 class by default seed(0).
Public method XXHash64(UInt32) Initializes a new instance of the XXHash64 class, and sets the Seed to the specified value.
  Back to Top

Properties

 

Name Description
Public property CanReuseTransform Gets a value indicating whether the current transform can be reused. (Inherited from HashAlgorithm.)
Public property CanTransformMultipleBlocks When overridden in a derived class, gets a value indicating whether multiple blocks can be transformed. (Inherited from HashAlgorithm.)
Public property Hash Gets the value of the computed hash code. (Inherited from HashAlgorithm.)
Public property HashSize Gets the size, in bits, of the computed hash code. (Inherited from HashAlgorithm.)
Public property HashUInt64 Gets the UInt64 value of the computed hash code.
Public property InputBlockSize When overridden in a derived class, gets the input block size. (Inherited from HashAlgorithm.)
Public property OutputBlockSize When overridden in a derived class, gets the output block size. (Inherited from HashAlgorithm.)
Public property Seed Gets or sets the value of seed used by xxHash64 algorithm.
  Back to Top

Methods

 

Name Description
Public method Clear Releases all resources used by the HashAlgorithm class. (Inherited from HashAlgorithm.)
Public method ComputeHash(Stream) Computes the hash value for the specified Stream object. (Inherited from HashAlgorithm.)
Public method ComputeHash(Byte[]) Computes the hash value for the specified byte array. (Inherited from HashAlgorithm.)
Public method ComputeHash(Byte[], Int32, Int32) Computes the hash value for the specified region of the specified byte array. (Inherited from HashAlgorithm.)
Public methodStatic member Create() Creates an instance of XXHash64 class by default seed(0).
Public methodStatic member Create(String) Creates an instance of the specified implementation of XXHash64 algorithm. This method always throws NotSupportedException.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Initialize Initializes this instance for new hash computing. (Overrides HashAlgorithm.Initialize().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TransformBlock Computes the hash value for the specified region of the input byte array and copies the specified region of the input byte array to the specified region of the output byte array. (Inherited from HashAlgorithm.)
Public method TransformFinalBlock Computes the hash value for the specified region of the specified byte array. (Inherited from HashAlgorithm.)
  Back to Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

YYProject.XXHash Namespace

Clone this wiki locally