Presentation is loading. Please wait.

Presentation is loading. Please wait.

Plaintextciphertext encryption algorithmdecryption algorithm plaintext.

Similar presentations


Presentation on theme: "Plaintextciphertext encryption algorithmdecryption algorithm plaintext."— Presentation transcript:

1 plaintextciphertext encryption algorithmdecryption algorithm plaintext

2 Round 1 Round 2 Round N XYWJLRAM block of ciphertext Horst Feistel (IBM) invented the basic algorithm in 1973. Feistel ciphers use symmetric block encryption relying upon product transformations. HI Mom S block of plaintextKey f + f + f + subkey 1 subkey 2 subkey N f some function + exclusive OR (bitwise) Encryption & decryption use the same algorithm.

3 DES Data Encryption Standard - an algorithm selected by the National Institute of Standards Technology for the encryption of non-classified data. The current DES algorithm was adopted by the U.S. Nat. Bureau of Standards in 1977. Block size: ____ bits Key size: ____ bits + 8-bit parity 16-round Feistel encryption (preceded by one permutation and followed by the permutation ’ s inverse) Subkeys The key (56-bits) is split in two and each half is rotated left by 1 or 2 bits. The resulting two 28-bit values index into a table to produce a 48-bit subkey. The rotated values are also forwarded to compute the next subkey. f function 1) input to f is expanded from 32 to 48 bits via table lookup 2) 48-bit value from (1) is XORed with subkey 3) 48-bit value from (2) is partitioned into eight 6-bit values 4) 6-bit values from (3) are separated into outside 2 bits and center 4 bits (outside bits select row and inside bits select column from S-box table) 5) eight S-box lookup values (each 4 bits long) are concatenated

4 The DES cipher substitutes via eight different S-boxes; two are below.

5 Brute Force 1977 - brute force attacks might be possible in the future [Diffie & Hellman IEEE Computer, June] Time to Produce All Possible Encodings Key Size (in bits) Number of Keys(1 encrypt./  s) (10 6 encrypt./  s) 322 32 ≈ 4.3 X 10 9 36 min. 2 msec. 562 56 ≈ 7.2 X 10 16 1142 years 10 hr. 1282 128 ≈ 3.4 X 10 38 5.4 X 10 24 years 5.4 X 10 18 years 26-char permutation 26! ≈ 4 X 10 26 6.4 X 10 12 years 6.4 X 10 6 years 1997 - a distributed collection of 3500 research computers discover DES key in ___ months 1998 - Electronic Frontier Foundation builds ___________________________________. REF: www.tropsoft.com/strongenc/des.htm 1999 - Net uses DES Cracker plus 100,000 PCs to crack DES in under ______________.

6 ______ - 1979 also called triple DES use two keys and three DES encryptions cipher = E key1 ( D key2 ( E key1 ( plaintext ) ) ) 3DES has an effective key size of 112 bits. developed by Bruce Schneier compact, efficient, algorithm w/ key of 128 bits International Data Encryption Algorithm developers from Swiss Federal Institute of Technology 128-bit key, but differs from DES in round function and subkey generation. ______ - 1991 ___________ - 1993 Advanced Encryption Standard selected algorithm: Rijndael a product cipher using key sizes of 128, 192 and 256 bits (128-bit block size). ______ - 1999 developed by Ron Rivest efficient algorithm with variable length keys ______ - 1994

7 Advantages only one key to generate relatively well-tested and established algorithms cipher algorithms are efficient potentially large number of keys Disadvantages ______________________________ (How can this be accomplished securely?) number of private keys number of communicators23456n


Download ppt "Plaintextciphertext encryption algorithmdecryption algorithm plaintext."

Similar presentations


Ads by Google