Session key generation now uses pycrypto