electric.util.crypto
Class MD5Digest

java.lang.Object
  extended byelectric.util.crypto.GeneralDigest
      extended byelectric.util.crypto.MD5Digest

public class MD5Digest
extends GeneralDigest

MD5Digest

Author:
webMethods

Constructor Summary
MD5Digest()
           
 
Method Summary
 int doFinal(byte[] out, int outOff)
           
 java.lang.String getAlgorithmName()
           
 int getDigestSize()
           
protected  void processBlock()
           
protected  void processLength(long bitLength)
           
protected  void processWord(byte[] in, int inOff)
           
 void reset()
          reset the chaining variables to the IV values.
 
Methods inherited from class electric.util.crypto.GeneralDigest
finish, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD5Digest

public MD5Digest()
Method Detail

getAlgorithmName

public java.lang.String getAlgorithmName()
Returns:

getDigestSize

public int getDigestSize()
Returns:

processWord

protected void processWord(byte[] in,
                           int inOff)
Specified by:
processWord in class GeneralDigest
Parameters:
in -
inOff -

processLength

protected void processLength(long bitLength)
Specified by:
processLength in class GeneralDigest
Parameters:
bitLength -

doFinal

public int doFinal(byte[] out,
                   int outOff)
Parameters:
out -
outOff -
Returns:

reset

public void reset()
reset the chaining variables to the IV values.

Overrides:
reset in class GeneralDigest

processBlock

protected void processBlock()
Specified by:
processBlock in class GeneralDigest


copyright© 2001-2004 by webMethods All Rights Reserved.