public class Md2Hash extends SimpleHash
SimpleHash parent class JavaDoc for a detailed explanation of Hashing
techniques and how the overloaded constructors function.| Modifier and Type | Field and Description |
|---|---|
static String |
ALGORITHM_NAME |
| 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, toStringpublic static final String ALGORITHM_NAME
public Md2Hash()
public Md2Hash(Object source)
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.