Package openid :: Module dh :: Class DiffieHellman
[hide private]
[frames] | no frames]

Class DiffieHellman

source code

object --+
         |
        DiffieHellman

Instance Methods [hide private]
 
__init__(self, modulus, generator)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_setPrivate(self, private)
This is here to make testing easier
source code
 
usingDefaultValues(self) source code
 
getSharedSecret(self, composite) source code
 
xorSecret(self, composite, secret, hash_func) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
fromDefaults(cls) source code
Class Variables [hide private]
  DEFAULT_MOD = 155172898181473697471232257763715539915724801966...
  DEFAULT_GEN = 2
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, modulus, generator)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

DEFAULT_MOD

Value:
1551728981814736974712322577637155399157248019669154044797077953140576\
2937854191758065122742369818899372781615264663143856159582568818888995\
1272158842675419950341258706556549803580104870537681476726513255747040\
7658574792912915723345106432450947150072296210941943497839259847603755\
94985848253359305585439638443