ENCRYPTION - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

ENCRYPTION

Description:

(IF YOU LOOKED AT A KEY -- YOU WILL SEE A SET OF NUMBERS) SINGLE KEY. SAME KEY USED TO CRYPT AND DECRYPT. SYMMETRIC KEY. SECRET KEY / PRIVATE KEY. DUAL KEY ... – PowerPoint PPT presentation

Number of Views:49
Avg rating:3.0/5.0
Slides: 27
Provided by: chin3
Category:
Tags: encryption | crypt

less

Transcript and Presenter's Notes

Title: ENCRYPTION


1
ENCRYPTION
2
ENCRYTION
  • ENCRYPTION
  • CONVERTING PLAINTEXT TO CIPHERTEXT
  • DECRYPTION

3
STREAM VS. BLOCK
  • STREAM CIPHER EACH CHARACTER IS ENCRYPTED
  • BLOCKCIPHER EACH CHARACTER IS ENCRYPTED

4
KEY
  • MATHEMATICAL TECHNIQUE TO ENCRPT
  • (IF YOU LOOKED AT A KEY -- YOU WILL SEE A SET OF
    NUMBERS)

5
SINGLE KEY
  • SAME KEY USED TO CRYPT AND DECRYPT
  • SYMMETRIC KEY
  • SECRET KEY / PRIVATE KEY

6
DUAL KEY
  • PRIVATE KEY KEPT WITH OWNER OF KEY
  • PUBLIC KEY IN PUBLIC PLACE AND ACCESSED BY
    ANYONE
  • ENCRYPT WITH ONE AND DECRYPT WITH THE OTHER.

7
KEY CHARACTERISTICS
  • SPEED
  • ENCRYPTION / DECRYPTION HAS TO BE FAST
  • KEY DISTRIBUTION / SAFETY
  • MUST BE ABLE TO DISTRIBUTE KEY WITHOUT IT BEING
    STOLEN
  • TAMPERING WITH KEY

8
PRIVATE KEY
  • SINGLE KEY -- FASTER (GENERALLY), SPEED OF
    HARDWARE MAKES THIS CRITERION LESS IMPORTANT
  • SINGLE KEY -- KEY EXCHANGE IS MORE DIFFICULT
    OFFLINE EXCHANGE
  • FREQUENT EXCHANGE IS A PROBLEM

9
DUAL KEY
  • SLOWER
  • BUT PUBLIC KEY IS FREELY AVAILABLE, NO KEY
    EXCHANGE.
  • DANGER OF PUBLIC KEY BEING TAMPERED WITH.

10
ISSUES ADDRESSED
  • PRIVACY
  • AUTHENTICITY
  • SIGNATURE
  • DOCUMENT
  • CERTIFICATION
  • ELECTRONIC PAYMENT SYSTEMS

11
PRIVACY
  • IF WE WANT ONLY RECEIVER TO SEE THE DOCUMENT
  • SINGLE KEY
  • ONLY RECEIVER WILL HAVE KEY.
  • DUAL KEY
  • ENCRYPT WITH RECEIVER PUBLIC KEY
  • ONLY RECEIVER HAS PRIVATE KEY

12
EXAMPLES OF KEY SYSTEMS
  • SINGLE
  • DATA ENCRYPTION STANDARDS(DES)
  • INTERNATIONAL DATA ENCRYPTION ALGORITHMM
  • DUAL
  • RSA (RIVEST SHAMIR ADELMAN)

13
DES
  • 64-BIT BLOCKS
  • 56-BIT KEY
  • THE LARGER THE SIZE OF THE KEY, THE MORE
    DIFFICULT IT IS TO BREAK
  • U.S. GOVT HAS LIMITATIONS ON KEY TECHNOLOGY THAT
    MAY BE EXPORTED.
  • (USED TO BE 40-BIT NOW??)

14
IDEA
  • 64-BIT BLOCK
  • 128-BIT KEY
  • ALGORITHM TO GENERATE KEY IS READILY AVAILABLE
  • OUTSIDE U.S. REGULATIONS, BECAUSE INTERNATIONAL
    STANDARD

15
ENHANCING SECURITY
  • APPLY KEY MULTIPLE TIMES

16
RSA
  • BLOCK CIPHERS
  • VARIABLE BIT SIZE
  • RC2 -- UPTO 40-BIT
  • RC5 -- UPTO 2048 BITS
  • BUT SLOWER THAN DES

17
RSA DIGITAL ENVELOPE
  • TO GET SPEED OF DES
  • BUT FLEXIBILITY OF RSA KEY DISTRIBUTION.
  • STEP 1
  • USE DES TO ENCRYPT MESSAGE
  • RECEIVER DOES NOT HAVE DES KEY

18
RSA DIGITAL ENVELOPE
  • STEP 2
  • USE RSA PUBLIC KEY OF RECEIVER TO ENCRYPT DES
    KEY
  • ONLY RECEIVER HAS PRIVATE KEY TO DECIPHER

19
RSA DIGITAL ENVELOPE
  • SPEED
  • RSA SLOW, BUT AMOUNT OF INFO IN DES KEY IS
    LITTLE, SO NOT AN ISSUE
  • DES IS FAST, MESSAGE IS LARGE -- SO YOU NEED A
    FAST KEY

20
AUTHENTICITY
  • IS SIGNATURE AUTHENTIC?
  • IS DOCUMENT AUTHENTIC AND UNALTERED?

21
DIGITAL SIGNATURE
  • PART OR ALL OF DOCUMENT IS ENCRYPTED WITH
    SENDER PRIVATE KEY.
  • ONLY SENDER SHOULD HAVE ACCESS TO IT.
  • SO.. ONE CAN THINK OF THAT AS A SIGNATURE

22
BUT..
  • A) LEGALLY, THIS HAS TO BE ACCEPTED AS A
    SIGNATURE
  • B) STANDARD HAS TO BE AGREED ON.
  • GOVT COMING UP WITH STANDARD
  • PROPOSING DIGITAL SIGNATURE ALGORITHM (MUCH
    DISPUTE)

23
ISSUES
  • A) ORGANIZATIONS STANDARDIZED ON RSA
  • B) DSA -- FAST ON SIGNING, SLOW ON VERIFICATION
    RSA IS REVERSE..
  • C) DSA UNPROVEN

24
DOCUMENT AUTHENTICATION
  • ONE-WAY HASH ALGORITHM APPLIED TO DOCUMENT
  • RESULT DIGEST-1
  • DOCUMENT DIGEST-1 SENT.
  • RECEIVER APPLIES SAME HASH ALGORITHM TO DOCUMENT
  • RESULT DIGEST-2

25
DOCUMENT AUTHENTICATION
  • IF DIGEST-1 DIGEST-2, THEN DOCUMENT UNALTERED.
  • IF NOT, DOCUMENT ALTERED. MUST RE-TRANSMIT.

26
SUMMARY
  • SINGLE-KEY, DUAL KEY
  • USED FOR
  • PRIVACY
  • AUTHENTICATION
  • SIGNATURE
  • DOCUMENT
  • POSSIBLE TO COMBINE
Write a Comment
User Comments (0)
About PowerShow.com