Re: [Python-Dev] Conversion of a standard unicode string to a bit string in Python

2015-10-17 Thread David Mertz
This list is for discussion of development of the Python core language and standard libraries, not for development *using* Python. It sounds like you should probably do your homework problem on your own, actually, but if you seek advice, something like StackOverflow or python-list are likely to be

[Python-Dev] Conversion of a standard unicode string to a bit string in Python

2015-10-17 Thread Nemo Nautilius
Hi All, I'm currently programming a set of crypto challenges in order to get a deeper understanding of python and crypto. The problem is to break a repeating key xor data (in a file). In order to do that I need a function to calculate the hamming distance between two strings. To find that one need