Class SipHash24Parameters

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String algorithm()
      Returns the canonical name of the hash algorithm.
      long seedHigh()
      Returns the high-order 64 bits of the seed.
      long seedLow()
      Returns the low-order 64 bits of the seed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • 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 java.lang.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