Docsity

CS 356 – Lecture 3 Cryptographic Tools, Exams of Cryptography and System Security

Partial preview of the text

Download CS 356 – Lecture 3 Cryptographic Tools and more Exams Cryptography and System Security in PDF only on Docsity!

CS 356 – Lecture 3

Cryptographic Tools

Spring 2013

Review

  • Chapter 1: Basic Concepts and Terminology
    • Integrity, Confidentiality, Availability,

Authentication, and Accountability

  • Types of threats: active vs. passive, insider/

outsider

  • Lots of terminology and general concepts
  • Chapter 2: Basic Cryptographic Tools
  • Symmetric key encryption and secure hashing

publicly proposed by Diffie and Hellman in 1976 based on mathematica l functions asymmetric

  • uses two separate keys
  • public key and private key
  • public key is made public for others to use some form of protocol is needed for distribution

l plaintext l readable message or data that is fed into the algorithm as input l encryption algorithm l performs transformations on the plaintext l public and private key l pair of keys, one for encryption, one for decryption l ciphertext l scrambled message produced as output l decryption key l produces the original plaintext

  • ***directed toward providing confidentiality

RSA (Rivest, Shamir, Adleman) developed in 1977 most widely accepted and implemented approach to public-key encryption block cipher in which the plaintext and ciphertext are integers between 0 and n - for some n. Diffie-Hellman key exchange algorithm enables two users to securely reach agreement about a shared secret that can be used as a secret key for subsequent symmetric encryption of messages limited to the exchange of the keys Digital Signature Standard (DSS) provides only a digital signature function with SHA- cannot be used for encryption or key exchange Elliptic curve cryptography (ECC) security like RSA, but with much smaller keys

PubKey Algorithms

  • Applications for Public-Key

Cryptosystems

Digital

Envelopes

l protects a message
without needing to
first arrange for
sender and
receiver to have
the same secret key
  • *****equates to the same thing** as a sealed envelope containing an unsigned letter

Summary

  • introduced cryptographic algorithms
  • symmetric encryption algorithms for

confidentiality

  • message authentication & hash

functions

  • public-key encryption
  • digital signatures and key management
  • random numbers

14

Cryptography is like magic fairy dust,

we just sprinkle it on our protocols

and its makes everything secure

16

Secure DNS Query and

Response

  • Caching DNS Server
  • End-user
  • www.ucla.edu
  • www.ucla.edu = 169.232.33.
  • Plus (RSA) signature by the ucla.edu private key
  • Authoritative DNS Servers
  • **Follow the DNS tree to authenticate the response:
  1. Assume root public key is well known
  2. Root key signs edu key
  3. edu key signs ucla.edu key
  4. ucla.edu key signs the data**

17

There is no magic fairy dust