Reading and manipulating binary data

Paul Rubin http
Sat Aug 30 18:55:35 CEST 2003

"Dave" <davbucko at> writes:
> Also part of the authentication system involves MD5 hashes.  For this I need
> to be able to take a string, find its MD5 digest, and then xor it with
> another string.  But since the MD5 digest is binary, and I don't know how to
> change it, I can't xor it...  Please, I am sure I am missing something
> really obvious but I am stumped as to what it is.

Look at the docs for the array module.  It may solve a lot of your problems.

More information about the Python-list mailing list