Mercurial > 510Connectbot
comparison app/src/main/java/ch/ethz/ssh2/crypto/digest/Digest.java @ 438:d29cce60f393
migrate from Eclipse to Android Studio
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Dec 2015 11:23:55 -0800 |
parents | src/ch/ethz/ssh2/crypto/digest/Digest.java@91a31873c42a |
children |
comparison
equal
deleted
inserted
replaced
437:208b31032318 | 438:d29cce60f393 |
---|---|
1 /* | |
2 * Copyright (c) 2006-2011 Christian Plattner. All rights reserved. | |
3 * Please refer to the LICENSE.txt for licensing details. | |
4 */ | |
5 package ch.ethz.ssh2.crypto.digest; | |
6 | |
7 import java.security.DigestException; | |
8 | |
9 /** | |
10 * Digest. | |
11 * | |
12 * @author Christian Plattner | |
13 * @version 2.50, 03/15/10 | |
14 */ | |
15 public interface Digest { | |
16 public int getDigestLength(); | |
17 | |
18 public void update(byte b); | |
19 | |
20 public void update(byte[] b); | |
21 | |
22 public void update(byte b[], int off, int len); | |
23 | |
24 public void reset(); | |
25 | |
26 public void digest(byte[] out) throws DigestException; | |
27 | |
28 public void digest(byte[] out, int off) throws DigestException; | |
29 } |