NSketch v0.1

FastHashFunction Class

This class provides a fast hashing function.

For a list of all members of this type, see FastHashFunction Members.

System.Object
   NSketch.FastHashFunction

public class FastHashFunction

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Tips: How to generate multiple random hash functions
Just add constant bytes (at the begining or the end) of the data to be hashed. The avalanching properties of the FastHashFunction should ensure a good level of randomness.

This implementation is based on the original C++ code of Paul Hsieh.

Requirements

Namespace: NSketch

Assembly: NSketch (in NSketch.dll)

See Also

FastHashFunction Members | NSketch Namespace