インストール $ wget http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz $ tar zxvf pycrypto-2.0.1.tar.gz $ cd pycrypto-2.0.1 $ sudo python setup.py install 使ってみる pycrypto-2.0.1/READMEを見ながらAESを試してみる $ python >>> from Crypto.Cipher import AES >>> obj=AES.new('This is a key456', AES.MODE_ECB) >>> message="The answer is no" >>> ciphertext=obj.encrypt(message) >>> ciphertext 'o\x1aq_{P+\xd0\x07\xce\x