com.funambol.util
Class MD5

java.lang.Object
  extended by com.funambol.util.MD5

public class MD5
extends java.lang.Object


Constructor Summary
MD5()
          Standard constructor
 
Method Summary
 byte[] computeMD5Credentials(java.lang.String username, java.lang.String password, byte[] nonce)
           
 int doFinal(byte[] out, int outOff)
           
 void finish()
           
protected  void processBlock()
           
protected  void processLength(long bitLength)
           
protected  void processWord(byte[] in, int inOff)
           
 void reset()
           
 void update(byte in)
           
 void update(byte[] in, int inOff, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD5

public MD5()
Standard constructor

Method Detail

update

public void update(byte in)

update

public void update(byte[] in,
                   int inOff,
                   int len)

finish

public void finish()

reset

public void reset()

processWord

protected void processWord(byte[] in,
                           int inOff)

processLength

protected void processLength(long bitLength)

doFinal

public int doFinal(byte[] out,
                   int outOff)

processBlock

protected void processBlock()

computeMD5Credentials

public final byte[] computeMD5Credentials(java.lang.String username,
                                          java.lang.String password,
                                          byte[] nonce)


Copyright © 2006 Funambol.