/** * Updates the digest using the specified array of bytes, * starting at the specified offset. * * @param input the array of bytes to use for the update. * @param offset the offset to start from in the array of bytes. * @param len the input of bytes to use, starting at * <code>offset</code>. */ protected void engineUpdate(byte[] input, int offset, int len) { for(int i = offset; i < offset+len; i ++) engineUpdate(input[i]); }
/** * Updates the digest using the specified array of bytes, * starting at the specified offset. * * @param input the array of bytes to use for the update. * @param offset the offset to start from in the array of bytes. * @param len the input of bytes to use, starting at * <code>offset</code>. */ protected void engineUpdate(byte[] input, int offset, int len) { for(int i = offset; i < offset+len; i ++) engineUpdate(input[i]); }