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