Lines Matching defs:digest
26 * <i>message</i>, and the fixed-length byte sequence is the <i>digest</i> or
27 * <i>message digest</i>.
30 * <p>The basic pattern to digest an {@link java.io.InputStream} looks like this:
38 * byte[] digest = digester.digest();
42 * call {@link #update(byte[],int,int)} for each block of input data, and then call {@link #digest}
43 * to get the final digest. Note that calling {@code digest} resets the {@code MessageDigest}.
45 * calling {@code digest}.
227 * After the digest is computed the receiver is reset.
232 public byte[] digest() {
238 * After the digest is computed the receiver is reset.
245 * the number of bytes allocated for the digest
254 public int digest(byte[] buf, int offset, int len) throws DigestException {
267 * value for this {@link MessageDigest}. After the digest is computed the
275 public byte[] digest(byte[] input) {
277 return digest();
292 * Indicates whether to digest are equal by performing a simply
296 * the first digest to be compared
298 * the second digest to be compared
332 * Returns the engine digest length in bytes. If the implementation does not
336 * @return the digest length in bytes, or {@code 0}
348 return md.digest().length;