| Package | Description |
|---|---|
| com.helger.commons.io.stream | |
| com.helger.commons.messagedigest |
| Constructor and Description |
|---|
MessageDigestInputStream(InputStream aSourceIS,
IMessageDigestGenerator aMDGen) |
MessageDigestOutputStream(OutputStream aSourceOS,
IMessageDigestGenerator aMDGen) |
| Modifier and Type | Class and Description |
|---|---|
class |
MessageDigestGenerator
Base class for creating a cryptographic hash value.
|
class |
NonBlockingMessageDigestGenerator
Base class for creating a cryptographic hash value.
|
| Modifier and Type | Method and Description |
|---|---|
IMessageDigestGenerator |
NonBlockingMessageDigestGenerator.update(byte aValue) |
IMessageDigestGenerator |
IMessageDigestGenerator.update(byte aValue)
Update the hash with the given byte.
|
default IMessageDigestGenerator |
IMessageDigestGenerator.update(byte[] aValue)
Update the hash with the given byte array.
|
IMessageDigestGenerator |
NonBlockingMessageDigestGenerator.update(byte[] aValue,
int nOfs,
int nLen) |
IMessageDigestGenerator |
IMessageDigestGenerator.update(byte[] aValue,
int nOffset,
int nLength)
Update the hash with a slice of the given byte array.
|
default IMessageDigestGenerator |
IMessageDigestGenerator.update(String sValue,
Charset aCharset)
Update the hash with the bytes of the given string in the given charset.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
MessageDigestGeneratorHelper.getAllDigestBytes(byte[] aContent,
IMessageDigestGenerator aMDGen) |
static byte[] |
MessageDigestGeneratorHelper.getAllDigestBytes(byte[] aContent,
int nOfs,
int nLength,
IMessageDigestGenerator aMDGen) |
static byte[] |
MessageDigestGeneratorHelper.getAllDigestBytesFromInputStream(InputStream aIS,
IMessageDigestGenerator aMDGen)
Create a hash value from the complete input stream.
|
Copyright © 2014–2016 Philip Helger. All rights reserved.