net.i2p.util

## Class SipHash

- java.lang.Object
- - net.i2p.util.SipHash

-     public abstract class SipHash
      extends Object

  Wrapper around SipHashInline with constant per-JVM keys

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SipHash()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static long` | `digest(byte[] data)`
    `static long` | `digest(byte[] data, int off, int len)`
    `static int` | `hashCode(byte[] data)` Secure replacement for DataHelper.hashCode(byte[]); caching recommended

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SipHash

          public SipHash()

  - ### Method Detail

    - #### digest

          public static long digest(byte[] data)

      Parameters:
        `data` - non-null

    - #### digest

          public static long digest(byte[] data,
                                    int off,
                                    int len)

      Parameters:
        `data` - non-null

    - #### hashCode

          public static int hashCode(byte[] data)

      Secure replacement for DataHelper.hashCode(byte[]); caching recommended
      Parameters:
        `data` - may be null