Home | Trees | Index | Help |
---|
Package twisted :: Package conch :: Package ssh :: Module common |
|
Common functions for the SSH classes.
This module is unstable.
Maintainer: Paul SwartzFunction Summary | |
---|---|
first from second goes through the first list, looking for items in the second, returns the first one | |
get multiple precision integer | |
get net string | |
MP_py(number)
| |
net string | |
number |
|
tgmpPow(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 |
pyPow(x, y, z=...)With two arguments, equivalent to x**y. With three arguments, equivalent to (x**y) % z, but may be more efficient (e.g. for longs).
|
_MPpow_py(x, y, z)return the MP version of (x**y)%z |
Variable Details |
---|
entropy
|
getMP
|
MP
|
tgmp
|
_MPpow
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:47:46 2003 | http://epydoc.sf.net |