1
0
Fork 0
Diffie-Hellman key exchange example in python
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
Andy 1ab331ae9a
first commit
10 anos atrás
README.md first commit 10 anos atrás
dhtest-run.png first commit 10 anos atrás
dhtest.py first commit 10 anos atrás

README.md

Diffie-Hellman key exchange example in python

You can use as reference OpenSSL's dhparam module that can produce following output, e.g.

openssl dhparam 16 |openssl dhparam -noout -text
Generating DH parameters, 16 bit long safe prime, generator 2
This is going to take a long time
.++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*
    PKCS#3 DH Parameters: (16 bit)
        prime: 61547 (0xf06b)
        generator: 2 (0x2)