Crypto 101

The basics of Cryptography

Nootan Ghimire / @nootanghimire

So, What is Crypto?

Study of techniques for secure communication!

So, What is Crypto?

Something used to convert a message to nonsense!

Example!

The simplest Example would be:
Ceaser Cipher!

The Ceaser Cipher!

converts: I LOVE YOU to

C FIPY SIO

When the Key is: 20

Okay, How does it work?

Each letter is shifted by the key!

To Get it Back

Just shift in opposite direction!

Cons!

One can sit all day and try all 26 combinations!

Types of Encryption

  • Symmetric
  • Assymetric
  • Hybrid

Symmetric

Use same key for encryption and Decryption
Example: Ceaser Cipher!

Assymetric

It uses two different keys for encryption and decryption.

Which leads to:

Public Key Cryptography

Public Key Cryptography

Two Keys (A pair)

  • Public Key
  • Private Key

Public Key Cryptography

  • People Encrypt With Your Public Key!
  • You Decrypt that with your Private Key!

PGP

Pretty Good Privacy

PGP

is an Hybrid CryptoSystem.

PGP Works!

So, GPG?

Is an free implementation of OpenPGP standard!

Demo Time!

Thank You!