Implementing Checksum Using Python Libraries