← back to all posts

Checking your Diffie-Hellman parameters

blog

I made a simple script to check for your DH modulus. Is it long enough? Is it a safe prime? I thought some non-cryptographers could benefit from such a tool, since usually all I have to do is fire up Sage and run some tests, but if you don’t have Sage this can be tricky and annoying so…

Here’s test_DHparams

test_DHparams

suggested reads:
← back to all posts blog • 2016-02-23

recent posts

elsewhere

book Real-World Cryptography Applied cryptography, from Manning. podcast Two And A Half Coins Crypto, banking & distributed systems. youtube Cryptography videos Concepts & security, explained.