liquibase-core/src/main/java/liquibase/change/CheckSum.java
public static CheckSum compute(String valueToChecksum) {
        return new CheckSum(MD5Util.computeMD5(
                //remove "Unknown" unicode char 65533
                Normalizer.normalize(
                    StringUtil.standardizeLineEndings(valueToChecksum)
                            .replace("\uFFFD", "")
                        , Normalizer.Form.NFC)
        ), getCurrentVersion());
    }
public static CheckSum compute(String valueToChecksum) {
        return new CheckSum(MD5Util.computeMD5(
                //remove "Unknown" unicode char 65533
                Normalizer.normalize(
                    StringUtil.standardizeLineEndings(valueToChecksum)
                            .replace("\uFFFD", "")
                        , Normalizer.Form.NFC)
        ), getCurrentVersion());
    }
Compute a storedCheckSum of the given string.