|
AXL Software | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectMessageDigestSpi
MessageDigest
MD4Provider
Message Digest for MD4, fallback for no MD at all in the PRNG.
| Method Summary | |
Object |
clone()
Returns a clone if the implementation is cloneable. |
byte[] |
digest()
Completes the hash computation by performing final operations such as padding. |
byte[] |
digest(byte[] input)
Performs a final update on the digest using the specified array of bytes, then completes the digest computation. |
int |
digest(byte[] input,
int offset,
int len)
Completes the hash computation by performing final operations such as padding. |
static MessageDigest |
getInstance(String algorithm)
Generates a MessageDigest object that implements the specified digest algorithm. |
static MessageDigest |
getInstance(String algorithm,
String provider)
Generates a MessageDigest object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider. |
static boolean |
isEqual(byte[] digesta,
byte[] digestb)
Compares two digests for equality. |
void |
reset()
Resets the digest for further use. |
String |
toString()
Returns a string representation of this message digest object. |
void |
update(byte input)
Updates the digest using the specified byte. |
void |
update(byte[] input)
Updates the digest using the specified array of bytes |
void |
update(byte[] input,
int offset,
int len)
Updates the digest using the specified array of bytes, starting at the specified offset. |
| Methods inherited from class MessageDigest |
getAlgorithm, getDigestLength, getInstance, getProvider |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public Object clone()
throws CloneNotSupportedException
CloneNotSupportedExceptionpublic byte[] digest()
public byte[] digest(byte[] input)
public int digest(byte[] input,
int offset,
int len)
throws DigestException
DigestException
public static MessageDigest getInstance(String algorithm)
throws NoSuchAlgorithmException
In fact it creates a new MessageDigest.
NoSuchAlgorithmException
public static MessageDigest getInstance(String algorithm,
String provider)
throws NoSuchAlgorithmException,
NoSuchProviderException
In fact it creates a new MessageDigest.
NoSuchAlgorithmException
NoSuchProviderException
public static boolean isEqual(byte[] digesta,
byte[] digestb)
public void reset()
public String toString()
public void update(byte input)
public void update(byte[] input)
public void update(byte[] input,
int offset,
int len)
|
AXL Software | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||