Added str() to checksum function