This class represents a cryptographic hash function.
The message digests are MD5(not implemented) and SHA1.
Defined in: MessageDigest.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
jls.security.MessageDigest.availableMessageDigests()
Returns available message digests.
|
|
digest()
Completes the digest and returns a buffer.
|
|
|
Returns the algorithm name.
|
|
| <static> |
jls.security.MessageDigest.getInstance(algorithm)
Returns the specified message digest.
|
| <static> |
jls.security.MessageDigest.isSupported(algorithm)
Tells if the specified algorithm is supported.
|
|
reset()
Resets the digest.
|
|
|
update(buffer)
Updates the digest with a specified buffer.
|
|
|
updateByte(b)
Updates the digest with a specified byte.
|
|
|
updateString(buffer, csn)
Updates the digest with a specified string.
|