Principles of cryptography

In symmetric cryptography sender and receiver share a secret key. AES and DES are two Data Encryption Standards.

Symmetric Encryption

Public key cryptography (asymmetric encryption) is a radically different approach. Sender and receiver do not share secret key. Public encryption key known to all. Private decryption key known only to receiver.

Asymmetric Cryptography

The sender needs the receiver’s Public Key. The receiver owns a secret Private Key such that given the public key it should be impossible to compute private key. RSA (Rivest-Shamir-Adleman) algorithm was developed in 1977, and it is the most used public key cryptographic system.

However, RSA is computationally intensive. DES is at leas 100 times faster than RSA. In practice, we use public key crypto to establish secure connection, then establish second key symmetric session key for encrypting data. In the example, Bob and Alice use RSA to exchange a symmetric key Ks. Once both have Ks, they use symmetric key cryptography.

Project

  • University of Boras logo
  • UHI logo
  • Alcala University logo
  • Digital connextions logo

This resource was developed as part of an Erasmus+ project, funded with support from the European Commission under grant agreement 2016-1-SE01-KA203-22064.

The project was a collaboration between:

  Creative Commons License

This resource has been released under Creative Commons license CC-BY-SA 4.0.

Contact

  • University of Boras logo
  • UHI logo
  • Alcala University logo
  • Digital connextions logo

If you would like more information on this resource please contact:

  • Academic content – The University of Alcalá (https://www.uah.es/en/)
  • Technical resource development – The University of the Highlands and Islands Educational Development Unit - EDU (edu@uhi.ac.uk)
Disclaimer

  • University of Boras logo
  • UHI logo
  • Alcala University logo
  • Digital connextions logo

Except where otherwise noted, this website is licensed under Creative Commons license CC-BY-SA 4.0. All images used under permission remain the copyright of the license holder.

PDF

  • University of Boras logo
  • UHI logo
  • Alcala University logo
  • Digital connextions logo

Download a copy of this resource in PDF format.

You can also print individual pages by printing directly from the browser.

×