Package twisted :: Package conch :: Package ssh :: Module common
[show private | hide private]
[frames | no frames]

Module twisted.conch.ssh.common

Common functions for the SSH classes.

This module is unstable.

Maintainer: Paul Swartz<mailto:z3p@twistedmatrix.com>
Function Summary
  ffs(c, s)
first from second goes through the first list, looking for items in the second, returns the first one
  getMP_py(data)
get multiple precision integer
  getNS(s, count)
get net string
  MP_py(number)
  NS(t)
net string
  tgmpPow(x, y, z)
  _MPpow_py(x, y, z)
return the MP version of (x**y)%z

Variable Summary
RandomPool entropy
FakeModule getMP
FakeModule MP
FakeModule tgmp
FakeModule _MPpow

Function Details

ffs(c, s)

first from second goes through the first list, looking for items in the second, returns the first one

getMP_py(data)

get multiple precision integer

getNS(s, count=1)

get net string

NS(t)

net string

_MPpow_py(x, y, z)

return the MP version of (x**y)%z

Variable Details

entropy

Type:
RandomPool
Value:
<Crypto.Util.randpool.RandomPool instance at 0x1041cbb8>               

getMP

Type:
FakeModule
Value:
<Fake tgmp.getMP>                                                      

MP

Type:
FakeModule
Value:
<Fake tgmp.MP>                                                         

tgmp

Type:
FakeModule
Value:
<Fake tgmp>                                                            

_MPpow

Type:
FakeModule
Value:
<Fake tgmp._MPpow>                                                     

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:03 2003 http://epydoc.sf.net