title: How to generate strong one time session key for AES in python
body: <p>I am using M2Crypto's AES for encrypting message, but confused about how to generate a strong random session key and of what length. Does M2Crypto provide any function for generation random key. </p>