public Digester digest(String str) {
        if (str != null) {
            final int sz = str.length();
            for(int i = 0; i < sz; ++i) {
                digest(str.charAt(i));
            }
        }
        return this;
    }
Updates the digest with a string.
@param str the string
@return this digester
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/Digester.java