Package org.atlanmod.commons.hash
Class StandardHashers
- java.lang.Object
-
- org.atlanmod.commons.hash.StandardHashers
-
-
Field Summary
Fields Modifier and Type Field Description static HasherCITYAHasherthat uses theCityHashalgorithm (64 bits).static HasherFARM_NAAHasherthat uses theFarmHash NAalgorithm (64 bits).static HasherFARM_UOAHasherthat uses theFarmHash UOalgorithm (64 bits).static HasherMD5AHasherthat uses theMD5algorithm (128 bits).static HasherMURMUR3AHasherthat uses theMurmurHash3 64-bitalgorithm (64 bits).static HasherSHA1AHasherthat uses theSHA-1algorithm (160 bits).static HasherSHA256AHasherthat uses theSHA-256algorithm (256 bits).static HasherXXAHasherthat uses thexxHashalgorithm (64 bits).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HasherforName(String name)Returns aHasherwith the specifiedname.
-
-
-
Field Detail
-
SHA256
@Nonnull public static final Hasher SHA256
AHasherthat uses theSHA-256algorithm (256 bits).
-
MURMUR3
@Nonnull public static final Hasher MURMUR3
AHasherthat uses theMurmurHash3 64-bitalgorithm (64 bits).- See Also:
- aappleby/smhasher/../MurmurHash3.cpp
-
XX
@Nonnull public static final Hasher XX
AHasherthat uses thexxHashalgorithm (64 bits).- See Also:
- Cyan4973/xxHash
-
CITY
@Nonnull public static final Hasher CITY
AHasherthat uses theCityHashalgorithm (64 bits).- See Also:
- google/cityhash
-
FARM_NA
@Nonnull public static final Hasher FARM_NA
AHasherthat uses theFarmHash NAalgorithm (64 bits).- See Also:
- google/farmhash
-
FARM_UO
@Nonnull public static final Hasher FARM_UO
AHasherthat uses theFarmHash UOalgorithm (64 bits).- See Also:
- google/farmhash
-
-