Package twisted :: Package conch :: Package ssh :: Module transport :: Class SSHCiphers
[frames | no frames]

Class SSHCiphers


Method Summary
  __init__(self, outCip, inCip, outMac, inMac)
  _getCipher(self, cip, iv, key)
  _getMAC(self, mac, key)
  decrypt(self, blocks)
  encrypt(self, blocks)
  makeMAC(self, seqid, data)
  setKeys(self, outIV, outKey, inIV, inKey, outInteg, inInteg)
  verify(self, seqid, data, mac)

Class Variable Summary
dict cipherMap = {'idea-ctr': ('IDEA', 16, 1), 'blowfish-ctr'...
dict macMap = {'hmac-sha1': 'sha', 'none': None, 'hmac-md5': ...

Class Variable Details

cipherMap

Type:
dict
Value:
{'3des-cbc': ('DES3', 24, 0),
 '3des-ctr': ('DES3', 24, 1),
 'aes128-cbc': ('AES', 16, 0),
 'aes128-ctr': ('AES', 16, 1),
 'aes192-cbc': ('AES', 24, 0),
 'aes192-ctr': ('AES', 24, 1),
 'aes256-cbc': ('AES', 32, 0),
 'aes256-ctr': ('AES', 32, 1),
...                                                                    

macMap

Type:
dict
Value:
{'hmac-sha1': 'sha', 'none': None, 'hmac-md5': 'md5'}                  

Generated by Epydoc 2.0 on Sat Sep 13 04:21:05 2003 http://epydoc.sf.net