Class Hasher

java.lang.Object
com.yahoo.compress.Hasher

public class Hasher extends Object
Utility for hashing providing multiple hashing methods
Author:
baldersheim
  • Method Details

    • xxh3

      public static long xxh3(byte[] data)
      Uses net.openhft.hashing.LongHashFunction.xx3()
    • xxh3

      public static long xxh3(byte[] data, long seed)
    • withSeed

      public static Hasher withSeed(long seed)
    • hash

      public long hash(long v)
    • hash

      public long hash(String s)