All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class au.net.aba.crypto.provider.MD5

java.lang.Object
   |
   +----java.security.MessageDigest
           |
           +----au.net.aba.crypto.provider.MD5

public class MD5
extends MessageDigest
A class that implements the RSA Data Security, Inc. MD5 message-digest algorithm.


Variable Index

 o ident

Constructor Index

 o MD5()
This constructor is used to begin a new MD5 operation.

Method Index

 o engineDigest()
compute the digest and reset the engine.
 o engineReset()
reset the digest back to its original state.
 o engineUpdate(byte)
update the digest with a single byte
 o engineUpdate(byte[], int, int)
add a block of data from the array bytes to the message digest.

Variables

 o ident
 public static final String ident

Constructors

 o MD5
 public MD5()
This constructor is used to begin a new MD5 operation.

Methods

 o engineReset
 protected void engineReset()
reset the digest back to its original state.

Overrides:
engineReset in class MessageDigest
 o engineUpdate
 protected synchronized void engineUpdate(byte b)
update the digest with a single byte

Parameters:
b - the byte to be added.
Overrides:
engineUpdate in class MessageDigest
 o engineUpdate
 protected synchronized void engineUpdate(byte bytes[],
                                          int offset,
                                          int length)
add a block of data from the array bytes to the message digest. The block starts offset bytes into the array, and is of size length.

Parameters:
bytes - the byte array.
offset - offset into the array to start from.
length - size of the block.
Overrides:
engineUpdate in class MessageDigest
 o engineDigest
 protected synchronized byte[] engineDigest()
compute the digest and reset the engine.

Returns:
a byte array containing the message digest.
Overrides:
engineDigest in class MessageDigest

All Packages  Class Hierarchy  This Package  Previous  Next  Index