Checksum calculations

3 thoughts on “Checksum calculations

  1. Hi all


    Does someone have any  experience of calculating checksums by Python, in the RAM? Say a string variable, or some other "medium sized" data structure? I am thinking primarily CRC, or possibly even MD5. If not realistic, something even simpler, like LRC, to detect possible unintentional alterations in the memory, or while in transit.


    My major concern is the calculation speed of the Python engine. And I would be grateful of any script examples to do the job.




      1. Oops, I have completely missed this. Thank you Cosmin. Shall make a test run.


        But still, does anyone have some experience (and sample scripts) of "lighter" checksum methods, like LRC or CRC? I anticipate md5 to be slow…