net.i2p.crypto

## Class SipHashInline

- java.lang.Object
- - net.i2p.crypto.SipHashInline

-     public final 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 For constant keys see net.i2p.util.SipHash

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

- - ### Method Detail

    - #### hash24

          public static long hash24(long k0,
                                    long k1,
                                    byte[] data)

      Parameters:
        `k0` - the first 8 bytes of the key
        `k1` - the last 8 bytes of the key

    - #### hash24

          public static long hash24(long k0,
                                    long k1,
                                    byte[] data,
                                    int off,
                                    int len)

      Parameters:
        `k0` - the first 8 bytes of the key
        `k1` - the last 8 bytes of the key