Package common :: Module dh
[hide private]
[frames] | no frames]

Module dh

source code

Functions [hide private]
 
hex_to_decimal(stripee) source code
Variables [hide private]
  generators = [None, 2, 2, None, None, 2, None, None, None, Non...
  hex_primes = [None, 'FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C66...
  all_ascii = '\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\...
  primes = [None, 1552518092300708935130918131258481755631334049...

Imports: string


Function Details [hide private]

hex_to_decimal(stripee)

source code 

Variables Details [hide private]

generators

Value:
[None,
 2,
 2,
 None,
 None,
 2,
 None,
 None,
...

hex_primes

Value:
[None,
 '''FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
E485B576 625E7EC6 F44C42E9 A63A3620 FFFFFFFF FFFFFFFF''',
 '''FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
...

all_ascii

Value:
'''\x00\x01\x02\x03\x04\x05\x06\x07\x08\t
\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\
\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWX\
YZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x8\
6\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\\
x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa\
9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\\
xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xc\
...

primes

Value:
[None,
 155251809230070893513091813125848175563133404943451431320235119490296\
6239949102107258669453876591642442910007680288864229150803718918046342\
6327276130312829837443808208901962885091706913165931753674695517631198\
43371637221007210577919,
 179769313486231590770839156793787453197860296048756011706444423684197\
1802161585193689478337958649255415021805654859805036464405481992391000\
5079287700335581663922955313623907650873575991482257486257500742530207\
...