public class Md2Hash 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 |
---|
Md2Hash() |
Md2Hash(Object source) |
Md2Hash(Object source,
Object salt) |
Md2Hash(Object source,
Object salt,
int hashIterations) |
Modifier and Type | Method and Description |
---|---|
static Md2Hash |
fromBase64String(String base64) |
static Md2Hash |
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 Md2Hash()
public Md2Hash(Object source)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.