Implemented checksum generating.