public interface IDigester
| Modifier and Type | Method and Description |
|---|---|
String |
digest(byte[] content)
Produces the digest of a byte array
|
String |
digest(ByteChannel channel)
Digests a ByteChannel; the performance of this method may possibly be higher (but it may also be slightly slower)
than that of the InputStream method
|
String |
digest(File file)
Produces the digest of a File
|
String |
digest(InputStream is)
Produces the digest of an InputStream
|
String digest(byte[] content)
content - String digest(File file) throws IOException
file - IOExceptionString digest(InputStream is) throws IOException
is - IOExceptionString digest(ByteChannel channel) throws IOException
channel - IOExceptionCopyright © 2015. All rights reserved.