public interface Hasher
| Modifier and Type | Method and Description |
|---|---|
byte[] |
hash(byte[] data)
Hashes the given data.
|
byte[] |
hash(InputStream inputStream)
Hashes the data from the given input stream.
|
byte[] hash(byte[] data)
data - The data to hashbyte[] hash(InputStream inputStream) throws IOException
InputStream.read() returns -1, or throws an
exception.inputStream - The input stream to read fromIOException - if an I/O error occursCopyright © 2026. All rights reserved.