List of utility methods to do MD5 Compare
boolean | compareMD5(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; |
boolean | compareMD5(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; |