Class FNV64

java.lang.Object
org.greenrobot.essentials.hash.FNV64
All Implemented Interfaces:
Checksum

public class FNV64 extends Object implements Checksum
Hash function FNV-1a (http://www.isthe.com/chongo/tech/comp/fnv).
  • Field Details

  • Constructor Details

    • FNV64

      public FNV64()
  • Method Details

    • update

      public void update(int b)
      Specified by:
      update in interface Checksum
    • update

      public void update(byte[] b, int off, int len)
      Specified by:
      update in interface Checksum
    • getValue

      public long getValue()
      Specified by:
      getValue in interface Checksum
    • reset

      public void reset()
      Specified by:
      reset in interface Checksum