public class MessageDigests extends Object
MessageDigests.| Modifier and Type | Field and Description |
|---|---|
static List<String> |
SUPPORTED_ALGORITHMS |
| Modifier | Constructor and Description |
|---|---|
protected |
MessageDigests() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
digest(MessageDigest digest,
InputStream input,
byte[] buffer)
Digests all byte from
input. |
static byte[] |
digest(MessageDigest digest,
ReadableByteChannel input,
ByteBuffer buffer)
Digests all bytes from
input. |
public static byte[] digest(MessageDigest digest, InputStream input, byte[] buffer) throws IOException
input.digest - digestinput - inputbuffer - bufferIOException - if an I/O error occurs.public static byte[] digest(MessageDigest digest, ReadableByteChannel input, ByteBuffer buffer) throws IOException
input.digest - digestinput - inputbuffer - bufferIOException - if an I/O error occurs.Copyright © 2011-2013. All Rights Reserved.