public abstract class SipHash extends Object
| Constructor and Description |
|---|
SipHash() |
| Modifier and Type | Method and Description |
|---|---|
static long | digest(byte[] data) |
static long | digest(byte[] data,
int off,
int len) |
static int | hashCode(byte[] data)Secure replacement for DataHelper.hashCode(byte[]);
caching recommended |
public static long digest(byte[] data)
data - non-nullpublic static long digest(byte[] data,
int off,
int len)data - non-nullpublic static int hashCode(byte[] data)
data - may be null