KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ch > ethz > ssh2 > crypto > digest > Digest


1
2 package ch.ethz.ssh2.crypto.digest;
3
4 /**
5  * Digest.
6  *
7  * @author Christian Plattner, plattner@inf.ethz.ch
8  * @version $Id: Digest.java,v 1.2 2005/08/11 12:47:29 cplattne Exp $
9  */

10 public interface Digest
11 {
12     public int getDigestLength();
13
14     public void update(byte b);
15
16     public void update(byte[] b);
17
18     public void update(byte b[], int off, int len);
19
20     public void reset();
21
22     public void digest(byte[] out);
23
24     public void digest(byte[] out, int off);
25 }
26
Popular Tags