public static final boolean equal(final byte[] x, final byte[] y) {
    return MessageDigest.isEqual(x, y);
  }
Best effort fix-timing array comparison.

@return true if two arrays are equal.
java_src/src/main/java/com/google/crypto/tink/subtle/Bytes.java