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

Type DiffieHellman

object --+
         |
        DiffieHellman


Method Summary
  __init__(self, modulus, generator)
  fromDefaults(cls)
(Class method)
  getSharedSecret(self, composite)
  usingDefaultValues(self)
  xorSecret(self, composite, secret, hash_func)
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variable Summary
int DEFAULT_GEN = 2                                                                     
long DEFAULT_MOD = 155172898181473697471232257763715539915724...

Class Variable Details

DEFAULT_GEN

Type:
int
Value:
2                                                                     

DEFAULT_MOD

Type:
long
Value:
1551728981814736974712322577637155399157248019669154044797077953140576\
2937854191758065122742369818899372781615264663143856159582568818888995\
1272158842675419950341258706556549803580104870537681476726513255747040\
7658574792912915723345106432450947150072296210941943497839259847603755\
94985848253359305585439638443L                                         

Generated by Epydoc 2.1 on Wed Apr 22 16:14:21 2009 http://epydoc.sf.net