A MessageDigest object starts out initialized. The data is processed through it using the update method. At any point {@link #reset() reset} can be calledto reset the digest. Once all the data to be updated has been updated, the digest method should be called to complete the hash computation.
The digest method can be called once for a given number of updates. After digest has been called, the MessageDigest object is reset to its initialized state.
| |