Cryptography - Lecture 17 - Public Key Encryption Algorithms

This lesson continues the discussion of public key cryptography, and describes the RSA and ElGamal algorithms.

Objectives

  • understand how the RSA public key encryption algorithm works
  • understand how the ElGamal public key encryption algorithm works
  • be able to illustrate the above schemes using small numbers
  • know about some implementation issues
  • Preliminary Reading

    Stallings, "Cryptography and Network Security", Ch 6.2 pp173-182.

    Lecture Content

    Public-Key Encryption - RSA

    1. Public-Key Encryption
    2. RSA (Rivest, Shamir, Adleman)
    3. RSA Setup
    4. RSA Parameter Selection
    5. RSA Usage
    6. Theory Behind RSA
    7. RSA Example
    8. RSA Example cont.
    9. RSA Security
    10. Actual Progress in Factoring
    11. RSA in Practise
    12. Speeding up RSA - Alternate Multiplication Techniques
    13. Speeding up RSA - the Chinese Remainder Theorem
    14. RSA Implementation in Practice

    Public-Key Encryption - El Gamal

    1. El Gamal Public Key Encryption Scheme
    2. El Gamal Setup
    3. El Gamal Encryption
    4. El Gamal Decryption
    5. El Gamal Example
    6. Current Status of Public-Key Schemes
    7. Practical Use of Public Key Schemes

    Summary

    1. Summary

    Exercises

    1. Exercises
      1. Illustrate the operation of RSA, given the following parameters:
        • System modulus n=119 (7x17)
        • encryption exp e=11
        Determine the decryption exponent d, and hence details the public and private keys fro this user. Then show how a message M=20 would be encrypted and decrpyted.
      2. Illustrate the operation of RSA, given the following parameters:
        • System modulus n=95 (5x19)
        • encryption exp e=11
        As above.
      3. Illustrate the operation of El Gamal encryption, given the following parameters:
        • prime p=31
        • prim root a=3
        Determine a suitable private and public key, and then show the exchange of a message M=4.
      4. Illustrate the operation of El Gamal encryption, given the following parameters:
        • prime p=31
        • prim root a=11
        Determine a suitable private and public key, and then show the exchange of a message M=18.

    Additional References

    For additional information, see:
  • Seberry & Pieprzyk, "Cryptography - An Introduction to Computer Security", 2/e Ch 5.2,5.5; 1/e Ch 3.3.2 pp 91-102.
  • B Schneier, "Applied Cryptography", 2/e, Ch 19.3,19.6 pp466-474,476-479.
  • W Diffie, M E Hellman, "Privacy and Authentication: An Introduction to Cryptography", Proc. of the IEEE, Vol 67 No 3, pp 397-427, Mar 1979
  • John Ellis, "History of Non-secret Encryption - http://www.cesg.gov.uk/about/nsecret/ellis.htm", CESG, UK, 1987. (local copy).

  • [Back to CCS3 Lectures]
    Lawrie.Brown@adfa.edu.au / 8 Feb 2001