html> Diffie encryption

Diffie Hellman encryption method

The Diffie-Hellman is a method for two users to exchange information that is encrypted. The method was proposed in 1976. It is the base for many methods used in VPN, SSH, PGP and otehr PKI systems.
The method is called asymmetric key exchange, because anyone can encrypt messages using the public key of the recipient but only the holder of the private key used to generate the public key can decrypt. The security depends on the secrecy of the private key and the use of large numbers that make brute force decryption very difficult.
  1. Selection of shared numbers.
  2. Selection of private key and sharing of public key.
    We now look at two users, Alice and Bob.
  3. Computation of super key.
  4. Use the superkey to encrypt and decrypt.
    Alternatively, the encryption and decryption can be done in a simpler way by computing
Try the python code diffie.py

Go to https://docs.google.com/spreadsheets/d/1uj-RkVVZDPHPT8F7X2JJYzkDqaCN8wn9nUCz7ISb81k/edit?usp=sharing to post your public key

Copyright: © 2015 by the Regents of the University of Minnesota
Department of Computer Science and Engineering. All rights reserved.
Comments to: Maria Gini