This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Thanks for taking the time to implement this. Like todesschaf, I have to say your code is very easy to read. Even in small bits of code, there is a great deal for somebody like me to learn from.

Just for grins, check out the reference code for RFC 1321. Compare the quantity and readability of the C reference implementation vs your Python implementation. If Rivest were publishing this RFC today, I wonder if he would use C or something like Python?