public static String abbreviate(final String str) {
        return abbreviate(str, ABBREVIATE_MAX_WIDTH);
    }
Abbreviate string.

@param str the str
@return the string
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/DigestUtils.java