Class SipHash24Parameters

java.lang.Object
com.scurrilous.circe.params.SipHash24Parameters
All Implemented Interfaces:
HashParameters

public final class SipHash24Parameters extends Object implements HashParameters
Hash parameters for SipHash-2-4.
  • Constructor Details

    • SipHash24Parameters

      public SipHash24Parameters()
      Constructs a SipHash24Parameters with 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 a SipHash24Parameters with the given seed.
      Parameters:
      seedLow - the low-order 64 bits of the seed
      seedHigh - 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

      public String algorithm()
      Description copied from interface: HashParameters
      Returns the canonical name of the hash algorithm.
      Specified by:
      algorithm in interface HashParameters
      Returns:
      the name of the hash algorithm