@CheckReturnValue @ParametersAreNonnullByDefault

Package com.exonum.binding.common.hash

Hash functions and related structures.

See the Guava User Guide article on hashing.

This package is a repackaged copy of com.google.common.hash from Guava, as of 23.4-jre, since the hashing APIs we re-export are in Beta and may change at any time.

It includes only the classes, needed for SHA-256 hash function. The other supported hash functions and bloom-filters are removed.

  • Interface Summary 
    Interface Description
    Funnel<T>
    An object which can send data from an object of type T into a PrimitiveSink.
    Hasher
    A PrimitiveSink that can compute a hash code after reading the input.
    HashFunction
    A hash function is a collision-averse pure function that maps an arbitrary block of data to a number called a hash code.
    PrimitiveSink
    An object which can receive a stream of primitive values.
  • Class Summary 
    Class Description
    Funnels
    Funnels for common types.
    HashCode
    An immutable hash code of arbitrary bit length.
    Hashing
    Static methods to obtain HashFunction instances, and other static hashing-related utilities.
  • Enum Summary 
    Enum Description
    Funnels.HashCodeFunnel
    HashCode funnel.