/** * Updates this {@code MessageDigest} using the given {@code byte}. * * @param arg0 * the {@code byte} to update this {@code MessageDigest} with * @see #reset() */ public void update(byte arg0) { engineUpdate(arg0); }
/** * Updates this {@code MessageDigest} using the given {@code input}. * * @param input * the {@code ByteBuffer} */ public final void update(ByteBuffer input) { engineUpdate(input); }
/** * Updates this {@code MessageDigest} using the given {@code byte[]}. * * @param input * the {@code byte} array * @throws NullPointerException * if {@code input} is {@code null} */ public void update(byte[] input) { if (input == null) { throw new NullPointerException("input == null"); } engineUpdate(input, 0, input.length); }
/** * Updates this {@code MessageDigest} using the given {@code byte[]}. * * @param input * the {@code byte} array * @param offset * the index of the first byte in {@code input} to update from * @param len * the number of bytes in {@code input} to update from * @throws IllegalArgumentException * if {@code offset} or {@code len} are not valid in respect to * {@code input} */ public void update(byte[] input, int offset, int len) { if (input == null || // offset < 0 || len < 0 || // checks for negative values are commented out intentionally // see HARMONY-1120 for details (long) offset + (long) len > input.length) { throw new IllegalArgumentException(); } engineUpdate(input, offset, len); }
/** * Updates this {@code MessageDigest} using the given {@code byte}. * * @param arg0 * the {@code byte} to update this {@code MessageDigest} with * @see #reset() */ public void update(byte arg0) { engineUpdate(arg0); }
/** * Updates this {@code MessageDigest} using the given {@code input}. * * @param input * the {@code ByteBuffer} */ public final void update(ByteBuffer input) { engineUpdate(input); }
/** * Updates this {@code MessageDigest} using the given {@code input}. * * @param input * the {@code ByteBuffer} */ public final void update(ByteBuffer input) { engineUpdate(input); }
/** * Updates this {@code MessageDigest} using the given {@code byte}. * * @param arg0 * the {@code byte} to update this {@code MessageDigest} with * @see #reset() */ public void update(byte arg0) { engineUpdate(arg0); }
/** * Updates this {@code MessageDigest} using the given {@code input}. * * @param input * the {@code ByteBuffer} */ public final void update(ByteBuffer input) { engineUpdate(input); }
/** * Updates this {@code MessageDigest} using the given {@code byte}. * * @param arg0 * the {@code byte} to update this {@code MessageDigest} with * @see #reset() */ public void update(byte arg0) { engineUpdate(arg0); }
/** * Updates this {@code MessageDigest} using the given {@code byte}. * * @param arg0 * the {@code byte} to update this {@code MessageDigest} with * @see #reset() */ public void update(byte arg0) { engineUpdate(arg0); }
/** * Updates this {@code MessageDigest} using the given {@code byte}. * * @param arg0 * the {@code byte} to update this {@code MessageDigest} with * @see #reset() */ public void update(byte arg0) { engineUpdate(arg0); }
/** * Updates this {@code MessageDigest} using the given {@code input}. * * @param input * the {@code ByteBuffer} */ public final void update(ByteBuffer input) { engineUpdate(input); }
/** * Updates this {@code MessageDigest} using the given {@code input}. * * @param input * the {@code ByteBuffer} */ public final void update(ByteBuffer input) { engineUpdate(input); }
/** * Updates this {@code MessageDigest} using the given {@code byte}. * * @param arg0 * the {@code byte} to update this {@code MessageDigest} with * @see #reset() */ public void update(byte arg0) { engineUpdate(arg0); }
/** * Updates this {@code MessageDigest} using the given {@code input}. * * @param input * the {@code ByteBuffer} */ public final void update(ByteBuffer input) { engineUpdate(input); }
public final void update(ByteBuffer input) { engineUpdate(input); }
/** * Updates this {@code MessageDigest} using the given {@code byte[]}. * * @param input * the {@code byte} array * @throws NullPointerException * if {@code input} is {@code null} */ public void update(byte[] input) { if (input == null) { throw new NullPointerException("input == null"); } engineUpdate(input, 0, input.length); }
/** * Updates this {@code MessageDigest} using the given {@code byte[]}. * * @param input * the {@code byte} array * @throws NullPointerException * if {@code input} is {@code null} */ public void update(byte[] input) { if (input == null) { throw new NullPointerException("input == null"); } engineUpdate(input, 0, input.length); }
public byte[] digest(byte[] input) { engineUpdate(input, 0, input.length); return engineDigest(); }