org.apache.sshd.common
Interface Digest
- All Known Implementing Classes:
- BaseDigest, MD5, SHA1
public interface Digest
Interface used to compute digests, based on algorithms such as MD5 or SHA1.
- Author:
- Apache MINA SSHD Project
init
void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
getBlockSize
int getBlockSize()
update
void update(byte[] foo,
int start,
int len)
throws java.lang.Exception
- Throws:
java.lang.Exception
digest
byte[] digest()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.