This is a light-weight example of Diffie-Hellman key exchange with some protections that make sure the choices of g
and n
are reasonable.
This is obviously not intented for real world use.
A pedagogical implementation of Diffie-Hellman key exchange.
This is a light-weight example of Diffie-Hellman key exchange with some protections that make sure the choices of g
and n
are reasonable.
This is obviously not intented for real world use.
A pedagogical implementation of Diffie-Hellman key exchange.
MIT License