public class ZDigest extends Object
| Constructor and Description |
|---|
ZDigest()
Creates a new digester.
|
ZDigest(byte[] buffer)
Creates a new digester.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
data() |
int |
size() |
String |
string() |
ZDigest |
update(byte[] input) |
ZDigest |
update(byte[] input,
int offset,
int length) |
ZDigest |
update(InputStream input) |
public ZDigest()
public ZDigest(byte[] buffer)
buffer - the temp buffer used for computation of streams.public ZDigest update(InputStream input) throws IOException
IOExceptionpublic ZDigest update(byte[] input)
public ZDigest update(byte[] input, int offset, int length)
public byte[] data()
public int size()
public String string()
Copyright © 2020. All rights reserved.