Package org.greenrobot.essentials.hash
Class FNV64
java.lang.Object
org.greenrobot.essentials.hash.FNV64
- All Implemented Interfaces:
Checksum
Hash function FNV-1a (http://www.isthe.com/chongo/tech/comp/fnv).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
private static final long
private static final long
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INITIAL_VALUE
private static final long INITIAL_VALUE- See Also:
-
MULTIPLIER
private static final long MULTIPLIER- See Also:
-
hash
private long hash
-
-
Constructor Details
-
FNV64
public FNV64()
-
-
Method Details
-
update
public void update(int b) -
update
public void update(byte[] b, int off, int len) -
getValue
public long getValue() -
reset
public void reset()
-