de.bb.security
Class MD5
java.lang.Object
|
+--de.bb.security.MessageDigest
|
+--de.bb.security.MD5
- public class MD5
- extends MessageDigest
|
Constructor Summary |
MD5()
constructor |
|
Method Summary |
java.lang.Object |
clone()
clone implementation |
protected byte[] |
engineDigest()
Complete processing on the message digest. |
protected void |
engineReset()
Initialize new context |
protected void |
engineUpdate(byte b)
add one byte to the digest. when this is implemented
all of the abstract class methods end up calling
this method for types other than bytes. |
protected void |
engineUpdate(byte[] d,
int off,
int len)
add the given part of the byte array to the digest |
| Methods inherited from class de.bb.security.MessageDigest |
digest, digest, getAlgorithm, getInstance, getInstance, hmac, isEqual, reset, rol, update, update, update |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MD5
public MD5()
- constructor
clone
public java.lang.Object clone()
- clone implementation
- Overrides:
clone in class MessageDigest
- Returns:
- a copy of the current object
engineReset
protected final void engineReset()
- Initialize new context
- Overrides:
engineReset in class MessageDigest
engineUpdate
protected final void engineUpdate(byte b)
- add one byte to the digest. when this is implemented
all of the abstract class methods end up calling
this method for types other than bytes.
- Overrides:
engineUpdate in class MessageDigest
- Parameters:
b - the byte which is added
engineUpdate
protected final void engineUpdate(byte[] d,
int off,
int len)
- add the given part of the byte array to the digest
- Overrides:
engineUpdate in class MessageDigest
- Parameters:
d - the byte array whichs data is addedoff - offset into the arraylen - count of bytes which are added
engineDigest
protected final byte[] engineDigest()
- Complete processing on the message digest.
- Overrides:
engineDigest in class MessageDigest
- Following copied from class:
de.bb.security.MessageDigest
- Returns:
- the array of bytes for the resulting hash value.