@ParametersAreNonnullByDefault public final class StandardHashers extends Object
Hasher instances.| Modifier and Type | Field and Description |
|---|---|
static Hasher |
CITY
A
Hasher that uses the CityHash algorithm (64 bits). |
static Hasher |
FARM_NA
A
Hasher that uses the FarmHash NA algorithm (64 bits). |
static Hasher |
FARM_UO
A
Hasher that uses the FarmHash UO algorithm (64 bits). |
static Hasher |
MD5
A
Hasher that uses the MD5 algorithm (128 bits). |
static Hasher |
MURMUR3
A
Hasher that uses the MurmurHash3 64-bit algorithm (64 bits). |
static Hasher |
SHA1
A
Hasher that uses the SHA-1 algorithm (160 bits). |
static Hasher |
SHA256
A
Hasher that uses the SHA-256 algorithm (256 bits). |
static Hasher |
XX
A
Hasher that uses the xxHash algorithm (64 bits). |
| Modifier and Type | Method and Description |
|---|---|
static Hasher |
forName(String name)
Returns a
Hasher with the specified name. |
@Nonnull public static final Hasher SHA256
Hasher that uses the SHA-256 algorithm (256 bits).@Nonnull public static final Hasher MURMUR3
Hasher that uses the MurmurHash3 64-bit algorithm (64 bits).@Nonnull public static final Hasher XX
Hasher that uses the xxHash algorithm (64 bits).@Nonnull public static final Hasher CITY
Hasher that uses the CityHash algorithm (64 bits).@Nonnull public static final Hasher FARM_NA
Hasher that uses the FarmHash NA algorithm (64 bits).@Nonnull public static final Hasher FARM_UO
Hasher that uses the FarmHash UO algorithm (64 bits).Copyright © 2017–2019 Atlanmod. All rights reserved.