toMd5 static method

String toMd5(
  1. String value
)

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();
}