List of utility methods to do MD5 Check
boolean | isValidMD5(String md5) is Valid MD if (md5 == null) { return false; return md5.matches("^[0-9A-Fa-f]{32}+$"); |
boolean | isValidMD5(String s) is Valid MD return s.matches("[a-fA-F0-9]{32}"); |
boolean | isValidMd5Hash(String md5Hash) Determines whether a string representation of an MD5 hash is valid. return md5Hash.matches("^[A-Fa-f0-9]{32}$"); |