Line 14: Line 14:
 
----
 
----
 
----
 
----
==1. Introduction to cryptography ==
+
==Introduction to cryptography ==
  
 
The block diagram below shows an overview of the field of cryptology.
 
The block diagram below shows an overview of the field of cryptology.
[[File:OverviewCrypt.png|500px|thumb|left|Fig 1: Overview of field of Cryptology]]
+
[[File:OverviewCrypt.png|400px|thumb|left|Fig 1: Overview of field of Cryptology]]
  
 
'''Cryptography''' is the science of secret writing with the goal to hide the orginal message.
 
'''Cryptography''' is the science of secret writing with the goal to hide the orginal message.
Line 25: Line 25:
 
Cryptography itself splits into three main branches:
 
Cryptography itself splits into three main branches:
  
1. '''Symmetric Algorithms''' :
+
==== 1. Symmetric Algorithms : ====
 
* Also known as private-key, single-key or secret-key cryptography
 
* Also known as private-key, single-key or secret-key cryptography
  
[[File:SymCrypt.png|500px|thumb|left|Fig 2: Symmetric Cryptography Basics]]
+
[[File:SymCrypt.png|400px|thumb|left|Fig 2: Symmetric Cryptography Basics]]
  
 
* In Fig 2, x is the plaintext message which Alice wants to send, y is the ciphertext message which has been encrypted, K is the key to encrypt or decrypt the message.
 
* In Fig 2, x is the plaintext message which Alice wants to send, y is the ciphertext message which has been encrypted, K is the key to encrypt or decrypt the message.
 
+
** Encryption equation : <math>y = e_k(x)</math>  , where <math>e_k(x)</math> is the encryption function and,
* Encryption equation : <math>y = e_k(x)</math>  , where <math>e_k(x)</math> is the encryption function  
+
** Decryption equation : <math>x = d_k(y)</math>  , where <math>d_k(x)</math> is the decryption function  
  Decryption equation : <math>x = d_k(y)</math>  , where <math>d_k(x)</math> is the decryption function  
+
  
 
* Encryption and decryption are inverse operations if the same key K is used on both sides :  
 
* Encryption and decryption are inverse operations if the same key K is used on both sides :  
Line 40: Line 39:
 
* '''However, the system is only secure if an attacker does not learn the key K!'''
 
* '''However, the system is only secure if an attacker does not learn the key K!'''
  
 +
==== 2. Asymmetric Algorithms : ====
  
2.  
+
* Also known as public-key cryptography.
 +
* Unlike Symmetric cryptography, user possesses a secret key as well as a public key.
 +
* We do not discuss this in detail in our slecture but use the references to learn more.
  
 +
3. Cryptographic Protocols :
  
Text of first section goes here. Here is an example of an equation.
+
*
<math> f(x)= \frac{1}{5} \sin x \int_{-\infty}^\alpha \pi^y dy</math>
+
  
 
----
 
----
==2. Derivation (''Replace by appropriate section title'')==
+
==Conclusion==
Text of second section goes here. Here is an example of a list
+
*Blah
+
*Blih
+
*Bloh
+
**Blouh
+
  
 +
The main focus of slecture is on basics of cryptography uptil symmetric algorithms inlcuding understanding the maths behind it.
 +
 
----
 
----
==4. Conclusion (''Replace by appropriate section title'')==
+
==References==
Text of fourth section goes here.
+
----
+
==5. References==
+
 
* C. Paar. Understanding Cryptography. Lecture Notes. Dept. of Electr. Eng. and In­for­ma­ti­on Sci­en­ces, Ruhr University.
 
* C. Paar. Understanding Cryptography. Lecture Notes. Dept. of Electr. Eng. and In­for­ma­ti­on Sci­en­ces, Ruhr University.
 
* C. Paar and J. Pelzl. Understanding Cryptography. A textbook for Student and Practitioners. Springer 2010.
 
* C. Paar and J. Pelzl. Understanding Cryptography. A textbook for Student and Practitioners. Springer 2010.

Revision as of 05:57, 16 June 2015



Introduction to Crpytography

A slecture on Cryptography by student Divya Agarwal and Katie Marsh (or anonymous if desired)

Partly based on the Cryptography Summer 2015 lecture material of Paar.



Introduction to cryptography

The block diagram below shows an overview of the field of cryptology.

Fig 1: Overview of field of Cryptology

Cryptography is the science of secret writing with the goal to hide the orginal message.

Cryptanalysis is the science and sometimes art of breaking cryptosystems.

Cryptography itself splits into three main branches:

1. Symmetric Algorithms :

  • Also known as private-key, single-key or secret-key cryptography
Fig 2: Symmetric Cryptography Basics
  • In Fig 2, x is the plaintext message which Alice wants to send, y is the ciphertext message which has been encrypted, K is the key to encrypt or decrypt the message.
    • Encryption equation : $ y = e_k(x) $ , where $ e_k(x) $ is the encryption function and,
    • Decryption equation : $ x = d_k(y) $ , where $ d_k(x) $ is the decryption function
  • Encryption and decryption are inverse operations if the same key K is used on both sides :
 $  d_k(y)= d_k(e_k(x))= x  $
  • However, the system is only secure if an attacker does not learn the key K!

2. Asymmetric Algorithms :

  • Also known as public-key cryptography.
  • Unlike Symmetric cryptography, user possesses a secret key as well as a public key.
  • We do not discuss this in detail in our slecture but use the references to learn more.

3. Cryptographic Protocols :


Conclusion

The main focus of slecture is on basics of cryptography uptil symmetric algorithms inlcuding understanding the maths behind it.


References

  • C. Paar. Understanding Cryptography. Lecture Notes. Dept. of Electr. Eng. and In­for­ma­ti­on Sci­en­ces, Ruhr University.
  • C. Paar and J. Pelzl. Understanding Cryptography. A textbook for Student and Practitioners. Springer 2010.


Questions and comments

If you have any questions, comments, etc. please post them here.


Back to 2015 Summer Cryptography Paar


Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood