net.i2p.util
Class SipHashInline
java.lang.Object
net.i2p.util.SipHashInline
abstract class SipHashInline
- extends Object
SipHash implementation with hand inlining the SIPROUND.
To know details about SipHash, see;
"a fast short-input PRF" https://www.131002.net/siphash/
SIPROUND is defined in siphash24.c that can be downloaded from the above
site. Following license notice is subject to change based on the licensing
policy of siphash24.c.
I2P mods: add off/len version
- Since:
- 0.9.5
Method Summary |
static long |
hash24(long k0,
long k1,
byte[] data)
|
static long |
hash24(long k0,
long k1,
byte[] data,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SipHashInline
SipHashInline()
hash24
public static long hash24(long k0,
long k1,
byte[] data)
hash24
public static long hash24(long k0,
long k1,
byte[] data,
int off,
int len)