in reply to Re^2: checksum of subroutine
in thread checksum of subroutine

Rather than literal checksums (e.g., sum of all bytes) or even CRCs, maybe investigate some modern 'digital signature' technology. Perhaps start with the Cryptographic hash function discussion.