Authenticated ECDH In Python using X25519

Curve 25519 is one of the most widely used ECC (Elliptic Curve Cryptography) methods and you are likely to be using it for the connection that you have on this connection. It uses a curve of y²=x³+486662x²+x, and which is a Montgomery curve. The prime number used is 2²⁵⁵−19.

So let’s create a Python to implement X25519. This method uses Curve 25519), but only focuses on the x-axis point for…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Prof Bill Buchanan OBE

Prof Bill Buchanan OBE

7K Followers

Professor of Cryptography. Serial innovator. Believer in fairness, justice & freedom. Based in Edinburgh. Old World Breaker. New World Creator. Building trust.