public class FpIdCalculator extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
hash(byte[] data)
Hash the data and returns the first 8 bytes of the hash value.
|
static long |
hash(String data)
Hash the data.getBytes("UTF-8") and returns the first 8 bytes of the hash value.
|
public static long hash(String data)
data - data over which the hash value is calculated.public static long hash(byte[] data)
data - data over which the hash value is calculated.Copyright © 2018. All rights reserved.