public class HashingUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static com.google.common.hash.HashFunction |
CURRENT_HASH_FUNCTION |
Constructor and Description |
---|
HashingUtils() |
Modifier and Type | Method and Description |
---|---|
static java.security.MessageDigest |
newMessageDigest(java.lang.String algorithm) |
static void |
updateBytes(com.google.common.hash.Hasher hasher,
java.nio.ByteBuffer input) |
static void |
updateWithBoolean(com.google.common.hash.Hasher hasher,
boolean val) |
static void |
updateWithByte(com.google.common.hash.Hasher hasher,
int val) |
static void |
updateWithInt(com.google.common.hash.Hasher hasher,
int val) |
static void |
updateWithLong(com.google.common.hash.Hasher hasher,
long val) |
static void |
updateWithShort(com.google.common.hash.Hasher hasher,
int val) |
public static final com.google.common.hash.HashFunction CURRENT_HASH_FUNCTION
public static java.security.MessageDigest newMessageDigest(java.lang.String algorithm)
public static void updateBytes(com.google.common.hash.Hasher hasher, java.nio.ByteBuffer input)
public static void updateWithShort(com.google.common.hash.Hasher hasher, int val)
public static void updateWithByte(com.google.common.hash.Hasher hasher, int val)
public static void updateWithInt(com.google.common.hash.Hasher hasher, int val)
public static void updateWithLong(com.google.common.hash.Hasher hasher, long val)
public static void updateWithBoolean(com.google.common.hash.Hasher hasher, boolean val)
Copyright © 2009-2019 The Apache Software Foundation