public class Md5Hash extends SimpleHash
SimpleHash
parent class JavaDoc for a detailed explanation of Hashing
techniques and how the overloaded constructors function.ByteSource.Util
Modifier and Type | Field and Description |
---|---|
static String |
ALGORITHM_NAME |
PREFERRED_ENCODING
Constructor and Description |
---|
Md5Hash() |
Md5Hash(Object source) |
Md5Hash(Object source,
Object salt) |
Md5Hash(Object source,
Object salt,
int hashIterations) |
Modifier and Type | Method and Description |
---|---|
static Md5Hash |
fromBase64String(String base64) |
static Md5Hash |
fromHexString(String hex) |
convertSaltToBytes, convertSourceToBytes, equals, getAlgorithmName, getBytes, getDigest, getIterations, getSalt, hash, hash, hash, hashCode, isEmpty, setBytes, setIterations, setSalt, toBase64, toByteSource, toHex, toString
isByteSource, objectToBytes, objectToString, toBytes, toBytes, toBytes, toBytes, toBytes, toBytes, toBytes, toChars, toChars, toString, toString, toString
public static final String ALGORITHM_NAME
public Md5Hash()
public static Md5Hash fromHexString(String hex)
public static Md5Hash fromBase64String(String base64)
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.