static Hasher |
Hasher.md5() |
Creates a new (open) MD5 hasher that is ready to accept a stream of bytes.
|
static Hasher |
Hasher.md5(java.io.File file) |
Creates a new (closed) MD5 hasher that has computed the digest for the file.
|
static Hasher |
Hasher.md5(java.io.InputStream input) |
Creates a new (closed) MD5 hasher that has computed the digest for the input.
|
static Hasher |
Hasher.md5(java.nio.file.Path file) |
Creates a new (closed) MD5 hasher that has computed the digest for the file.
|
abstract Hasher |
Hasher.update(byte[] buffer) |
Updates the hash/digest with the supplied byte buffer.
|
abstract Hasher |
Hasher.update(byte[] buffer,
int offset,
int length) |
Updates the hash/digest with the supplied byte buffer.
|
abstract Hasher |
Hasher.update(java.nio.ByteBuffer buffer) |
Updates the hash/digest with the supplied byte buffer.
|