Added version of checksum that does not require printing of output