Apr 14, 2010

SHA1 hexdigest: Ruby vs Python

After playing for a while today with some SHA1 encryption in Python I decided to post something so I can remember how to do it in the languages I use the most these days:

Python win? probably, mostly because of Ruby's namespaces (but these ones are so powerful that I like them quite a lot).

Both result of course:

891b83416dfe8e8786e453088c507847ca73ff89

Some references:

0 comments:

Post a Comment

disclaimer



Things written in this blog are my personal thoughts or points of view, and do not represent at all the position of my employer.

Code in the website is licensed under The MIT License

Content of this blog is:
Creative Commons License
Licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.