### Question:
Hashing { public static boolean matchSHA(byte[] sha1, byte[] sha2){ return Arrays.equals(sha1, sha2); }  static byte[] sha(String plaintext); static boolean matchSHA(byte[] sha1, byte[] sha2); static boolean verifySHA(byte[] sha, String plaintext);  }### Answer:
@Test public void testMatchSHA() throws NoSuchAlgorithmException { byte[] sha1 = StringUtils.hexStringToByteArray(hexOfHashOfPlainText); byte[] sha2 = Hashing.sha(plaintext); boolean expResult = true; boolean result = Hashing.matchSHA(sha1, sha2); assertEquals(expResult, result); }