toMd5 static method
Converts the given value
string into its MD5 hash representation.
Example:
StringUtils.toMd5("hello"); // "5d41402abc4b2a76b9719d911017c592"
Implementation
static String toMd5(String value) {
return md5.convert(utf8.encode(value)).toString();
}