protected String getMD5SignAsHexString(final String strForEncoding) throws NoSuchAlgorithmException {
        var md = MessageDigest.getInstance("MD5");
        var result = new StringBuilder();
        for (var aByte : md.digest(strForEncoding.getBytes(StandardCharsets.UTF_8))) {
            if ((0xff & aByte) < 0x10) {
                result.append("0").append(Integer.toHexString(0xFF & aByte));
            } else {
                result.append(Integer.toHexString(0xFF & aByte));
            }
        }
        return result.toString();
    }
<p>getMD5SignAsHexString.</p>

@param strForEncoding a {@link String} object
@return a {@link String} object
@throws NoSuchAlgorithmException if any.
pac4j-oauth/src/main/java/org/pac4j/oauth/profile/ok/OkProfileDefinition.java