Java Utililty Methods MD5 Compare

List of utility methods to do MD5 Compare

Description

The list of methods to do MD5 Compare are organized into topic(s).

Method

booleancompareMD5(byte[] m1, byte[] m2)
compare MD
if (m1 == null || m2 == null)
    return true;
for (int i = 0; i < 16; i++) {
    if (m1[i] != m2[i])
        return false;
return true;
booleancompareMD5(String md5a, String md5b)
compare MD
if ((!isValidMD5(md5a)) || (!isValidMD5(md5b))) {
    return false;
return md5a.equalsIgnoreCase(md5b);
byte[]computeMd5Hash(byte[] arg1)
compute Md Hash
return (byte[]) null;