Package com.scurrilous.circe
Provides interfaces and minimal support classes for providing and consuming
various forms of hash functions. The actual hash algorithms are implemented
by hash providers.
-
Interface Summary Interface Description Hash Abstract hash function.HashParameters Base interface implemented by classes describing parameters for a particular family of hash algorithms.HashProvider Interface used to obtain instances of various kinds of hash algorithms.IncrementalIntHash Incremental stateless integer hash function, which has the property that its output is the same as (or easily derivable from) its state.IncrementalLongHash Incremental stateless long integer hash function, which has the property that its output is the same as (or easily derivable from) its state.StatefulHash Represents a stateful hash function, which can accumulate input from multiple method calls and provide output in various forms.StatefulIntHash Interface implemented by stateful hash functions with an output length of 4 bytes or less.StatefulLongHash Interface implemented by stateless hash functions with an output length greater than 4 bytes and less than or equal to 8 bytes.StatelessHash Base interface for stateless hash functions that immediately return the hash value corresponding to a given input.StatelessIntHash Interface implemented by stateless hash functions with an output length of 4 bytes or less.StatelessLongHash Interface implemented by stateless hash functions with an output length greater than 4 bytes and less than or equal to 8 bytes. -
Class Summary Class Description CommonHashes Static methods to obtain commonly-used hash functions.Hashes Static methods to obtain various forms of abstract hash functions.HashProviders Static utility methods for discoveringHashProvider
instances.HashSupport.SetComparator Comparator
forEnumSets
for hash support flags. -
Enum Summary Enum Description HashSupport Flags indicating the support available for some set of hash algorithm.