Top Description Fields Constructors Methods
org.jruby.util

public Class SipHashInline

extends Object
Class Inheritance
Imports
java.lang.invoke.MethodHandles, .VarHandle, java.nio.ByteOrder

SipHash implementation with hand inlining the SIPROUND. To know details about SipHash, see; "a fast short-input PRF" https://www.131002.net/siphash/
Author
[email protected]

Field Summary

Modifier and TypeField and Description
pack-priv static final VarHandle

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static long
hash24(long k0, long k1, byte[] data)

public static long
hash24(long k0, long k1, byte[] src, int offset, int length)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BYTE_ARRAY_HANDLEback to summary
pack-priv static final VarHandle BYTE_ARRAY_HANDLE

Constructor Detail

SipHashInlineback to summary
public SipHashInline()

Method Detail

hash24back to summary
public static long hash24(long k0, long k1, byte[] data)
hash24back to summary
public static long hash24(long k0, long k1, byte[] src, int offset, int length)