public interface IDigester
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
digest(byte[] content)
Produces the digest of a byte array
|
java.lang.String |
digest(java.nio.channels.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
|
java.lang.String |
digest(java.io.File file)
Produces the digest of a File
|
java.lang.String |
digest(java.io.InputStream is)
Produces the digest of an InputStream
|
java.lang.String digest(byte[] content)
content - java.lang.String digest(java.io.File file)
throws java.io.IOException
file - java.io.IOExceptionjava.lang.String digest(java.io.InputStream is)
throws java.io.IOException
is - java.io.IOExceptionjava.lang.String digest(java.nio.channels.ByteChannel channel)
throws java.io.IOException
channel - java.io.IOExceptionCopyright © 2014. All Rights Reserved.