-
The Diffie-hellman key exchange protocol is a symmetric-key algorithm which uses a single key for encryption and decryption of messages.
-
Diffie-Hellman operates in a cyclic group by definition: the elements π,π^π,π^π,π^(ππ) are in the cyclic group generated by π, where π is the base, π^π is Alice's public key, π^π is Bob's public key and π^(ππ) is both Alice's and Bob's mutual secret key.
-
I have implemented a high-level program of the Diffie-Hellman key exchange protocol in Rust where random numbers are generated as the private keys for both bob and Alice.
-
The base and prime modulus are public and together with the private keys, are used to compute the public keys and finally generate the shared secret key.
-
I have also used Advanced Encryption Standard(AES) which along with the shared secret key is used to encrypt and decrypt messages shared between Alice and Bob.
-
Eve has got nothing on this program!ππ€
Lynette7/diffie-hellman
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Β | Β | |||
Β | Β | |||