Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Andy
1ab331ae9a
|
il y a 10 ans | |
---|---|---|
README.md | il y a 10 ans | |
dhtest-run.png | il y a 10 ans | |
dhtest.py | il y a 10 ans |
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)