This class is used for creating message hash codes:
Message Digest or Message Authentication Code (MAC).
Methods
| Returns |
the message hash code.
The code can be converted to a hex string using toHex() function. |
Returns algorithm name for this MessageHash object.
Returns length of hash.
void
update(
object data, ...)
Adds one or more data items (string or binary).
void
update(
File data, ...)
Adds the contents of one or more data files.
void
update(
URL data, ...)
Adds the contents from one or more URL:s.
void
update(
InputStream data, ...)
Adds the contents from one or more InputStream's.
| Parameters |
data -
collection of one or more data items
|