public static long checksum(final String input) {
        final CRC32 checksum = new CRC32();
        checksum.update(input.getBytes(StandardCharsets.UTF_8));
        return checksum.getValue();
    }
Calculate a simple checksum for change-checking (not usable for security/cryptography!)

@param input String to check
@return resulting checksum
main/src/main/java/cgeo/geocaching/utils/TextUtils.java