Package com.scurrilous.circe.params
Class SipHash24Parameters
java.lang.Object
com.scurrilous.circe.params.SipHash24Parameters
- All Implemented Interfaces:
HashParameters
Hash parameters for SipHash-2-4.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aSipHash24Parameterswith the default seed,00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F.SipHash24Parameters(long seedLow, long seedHigh) Constructs aSipHash24Parameterswith the given seed. -
Method Summary
-
Constructor Details
-
SipHash24Parameters
public SipHash24Parameters()Constructs aSipHash24Parameterswith the default seed,00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F. -
SipHash24Parameters
public SipHash24Parameters(long seedLow, long seedHigh) Constructs aSipHash24Parameterswith the given seed.- Parameters:
seedLow- the low-order 64 bits of the seedseedHigh- the high-order 64 bits of the seed
-
-
Method Details
-
seedLow
public long seedLow()Returns the low-order 64 bits of the seed.- Returns:
- low-order bits of seed
-
seedHigh
public long seedHigh()Returns the high-order 64 bits of the seed.- Returns:
- high-order bits of seed
-
algorithm
Description copied from interface:HashParametersReturns the canonical name of the hash algorithm.- Specified by:
algorithmin interfaceHashParameters- Returns:
- the name of the hash algorithm
-