Home | Trees | Indices | Help |
---|
|
1 # Author: Trevor Perrin 2 # See the LICENSE file for legal information regarding use of this file. 3 4 """PyCrypto AES implementation.""" 5 6 from .cryptomath import * 7 from .aes import * 8 9 if pycryptoLoaded: 10 import Crypto.Cipher.AES 1113 return PyCrypto_AES(key, mode, IV)14163018 AES.__init__(self, key, mode, IV, "pycrypto") 19 key = bytesToString(key) 20 IV = bytesToString(IV) 21 self.context = Crypto.Cipher.AES.new(key, mode, IV)22 26
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Feb 11 12:21:59 2012 | http://epydoc.sourceforge.net |