com.sshtools.jce
Class JCEDigest
java.lang.Object
com.sshtools.jce.JCEDigest
- All Implemented Interfaces:
- com.maverick.crypto.digests.Digest
- public class JCEDigest
- extends java.lang.Object
- implements com.maverick.crypto.digests.Digest
A utility digest which uses a JCE provider for MD5 and SHA1 digests
- Author:
- Lee David Painter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doFinal
public int doFinal(byte[] output,
int offset)
- Specified by:
doFinal
in interface com.maverick.crypto.digests.Digest
finish
public void finish()
- Specified by:
finish
in interface com.maverick.crypto.digests.Digest
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmName
in interface com.maverick.crypto.digests.Digest
getDigestSize
public int getDigestSize()
- Specified by:
getDigestSize
in interface com.maverick.crypto.digests.Digest
reset
public void reset()
- Specified by:
reset
in interface com.maverick.crypto.digests.Digest
update
public void update(byte in)
- Specified by:
update
in interface com.maverick.crypto.digests.Digest
update
public void update(byte[] in,
int inOff,
int len)
- Specified by:
update
in interface com.maverick.crypto.digests.Digest
Copyright © 2003 3SP LTD. All Rights Reserved.