net.ssh.jsch.jce
Class MD5
java.lang.Object
net.ssh.jsch.jce.MD5
- All Implemented Interfaces:
- HASH
public class MD5
- extends java.lang.Object
- implements HASH
Constructor Summary |
MD5()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MD5
public MD5()
getBlockSize
public int getBlockSize()
- Specified by:
getBlockSize
in interface HASH
init
public void init()
throws java.lang.Exception
- Specified by:
init
in interface HASH
- Throws:
java.lang.Exception
update
public void update(byte[] foo,
int start,
int len)
throws java.lang.Exception
- Specified by:
update
in interface HASH
- Throws:
java.lang.Exception
digest
public byte[] digest()
throws java.lang.Exception
- Specified by:
digest
in interface HASH
- Throws:
java.lang.Exception