@Test
public void testMatches()
        throws NoSuchAlgorithmException
{

    System.out.println("matches");
    final String secret = "Clark Kent is Superman";
    // Test old 1-trip MD5 hash
    MessageDigest digest = MessageDigest.getInstance("MD5");
    PasswordHash hash = new PasswordHash(null, null, digest.digest(secret.getBytes()));
    boolean result = hash.matches(secret);
    assertTrue("Old unsalted 1-trip MD5 hash", result);
    // 3-argument form:  see constructor tests
}