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

Class DiffieHellman

source code

object --+
         |
        DiffieHellman

Instance Methods
 
__init__(self, modulus, generator)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
usingDefaultValues(self) source code
 
getSharedSecret(self, composite) source code
 
xorSecret(self, composite, secret, hash_func) source code

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

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

Inherited from object: __class__

Method Details

__init__(self, modulus, generator)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details

DEFAULT_MOD

Value:
1551728981814736974712322577637155399157248019669154044797077953140576\
2937854191758065122742369818899372781615264663143856159582568818888995\
1272158842675419950341258706556549803580104870537681476726513255747040\
7658574792912915723345106432450947150072296210941943497839259847603755\
94985848253359305585439638443