| java.lang.Object | ||
| ↳ | java.security.MessageDigestSpi | |
| ↳ | java.security.MessageDigest | |
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new instance of the same class as the receiver, whose slots
have been filled in with the values in the slots of the receiver.
| |||||||||||
Computes and returns the final hash value that the receiver represents.
| |||||||||||
Returns the standard Java Security name for the algorithm being used by
the receiver.
| |||||||||||
Return the engine digest length in bytes.
| |||||||||||
Returns a new MessageDigest which is capable of running the algorithm
described by the argument.
| |||||||||||
Returns the Provider of the digest represented by the receiver.
| |||||||||||
Does a simply byte-per-byte compare of the two digests.
| |||||||||||
Puts the receiver back in an initial state, such that it is ready to
compute a new hash.
| |||||||||||
Returns a string containing a concise, human-readable description of the
receiver.
| |||||||||||
Includes the argument in the hash value computed
by the receiver.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.security.MessageDigestSpi
| |||||||||||
From class java.lang.Object
| |||||||||||
Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.
Classes which wish to support cloning must specify that they implement the Cloneable interface, since the implementation checks for this.
| CloneNotSupportedException |
|---|
Computes and returns the final hash value that the receiver represents. After the digest is computed the receiver is reset.
| DigestException |
|---|
Returns the standard Java Security name for the algorithm being used by the receiver.
Return the engine digest length in bytes. Default is 0.
| NoSuchAlgorithmException |
|---|
Returns a new MessageDigest which is capable of running the algorithm described by the argument. The result will be an instance of a subclass of MessageDigest which implements that algorithm.
| algorithm | java.lang.String Name of the algorithm desired |
|---|---|
| provider | Provider Provider which has to implement the algorithm |
| NoSuchAlgorithmException | If the algorithm cannot be found |
|---|
Returns the Provider of the digest represented by the receiver.
Does a simply byte-per-byte compare of the two digests.
| digesta | One of the digests to compare |
|---|---|
| digestb | The digest to compare to |
true if the two hashes are equal
false if the two hashes are not equal
Puts the receiver back in an initial state, such that it is ready to compute a new hash.
Returns a string containing a concise, human-readable description of the receiver.
Includes the argument in the hash value computed by the receiver.
| arg0 | byte the byte to feed to the hash algorithm |
|---|