|
Oracle Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10668-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.crypto.core.MessageDigest
oracle.security.crypto.core.MD5
public final class MD5
The MD5 Message Digest algorithm, as specified in RFC 1321.
MessageDigest, SHA| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.security.crypto.core.MessageDigest |
|---|
MessageDigest.MDState |
| Field Summary |
|---|
| Fields inherited from class oracle.security.crypto.core.MessageDigest |
|---|
algID |
| Constructor Summary | |
|---|---|
MD5()Empty constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
algName()Returns the algorithm name of this message digest. |
int |
blockSize()Returns the blocksize of this instance. |
java.lang.Object |
clone()Returns a clone of this message digest object. |
void |
computeCurrent()Completes the hash computation, performing any necessary operations such as padding. |
AlgorithmIdentifier |
getAlgID()Returns the algorithm identifier of this object. |
byte[] |
getDigestBits()Returns a copy of the current digest bytes. |
int |
getDigestLength()Returns the length in bytes of the message digest. |
protected MessageDigest.MDState |
getState()Gets the state of this MessageDigest instance. |
void |
init()Resets the digest to its initial state. |
boolean |
isValid()Returns true if this MD5 is in a valid state and its digest bits are usable; otherwise returns false. |
protected void |
setState(MessageDigest.MDState state)Sets the state of this MessageDigest instance. |
void |
update(byte b)Adds the specifed byte to the data being digested. |
void |
update(byte[] input, int off, int len)Adds the specified sequence of bytes to the data being digested. |
| Methods inherited from class oracle.security.crypto.core.MessageDigest |
|---|
computeDigest, computeDigest, getInstance, isEqual, setAlgID, toString, update, update, update, update, update, update, update, update, update, update, update, updateASCII |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MD5()
| Method Detail |
|---|
public AlgorithmIdentifier getAlgID()
MessageDigestgetAlgID in class MessageDigestpublic int blockSize()
MessageDigestblockSize in class MessageDigestpublic void init()
init in class MessageDigestpublic void update(byte b)
update in class MessageDigest
public void update(byte[] input,
int off,
int len)
update in class MessageDigestinput - the input arrayoff - start position in the input arraylen - the number of input array elements to add to the data being digestedpublic void computeCurrent()
digestBits.computeCurrent in class MessageDigestpublic java.lang.String algName()
algName in class MessageDigestpublic int getDigestLength()
getDigestLength in class MessageDigestpublic byte[] getDigestBits()
getDigestBits in class MessageDigestpublic boolean isValid()
true if this MD5 is in a valid state and its digest bits are usable; otherwise returns false.isValid in class MessageDigestpublic java.lang.Object clone()
clone in class MessageDigestprotected MessageDigest.MDState getState()
MessageDigestgetState in class MessageDigestprotected void setState(MessageDigest.MDState state)
MessageDigestsetState in class MessageDigest
|
Oracle Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10668-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||