Fix stub output
Some tests with pycrypto instead of m2crypto (for python3 support), and some pointless inefficient repeating hex algorithm I wrote on sleep medication.
Note about pycrypto on ubuntu precise