Bài giảng Lý thuyết mật mã: Chương 3 - TS. Hán Trọng Thanh

23 4 0
Bài giảng Lý thuyết mật mã: Chương 3 - TS. Hán Trọng Thanh

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Bài giảng Lý thuyết mật mã: Chương 3 - Hệ mật DES được biên soạn với các nội dung chính sau: Giới thiệu sơ lược hệ mật DES; Cấu trúc hệ mật DES; Thám mã hệ mật DES. Mời các bạn cũng tham khảo bài giảng tại đây!

each with a 6-bit input and a 4-bit output 19 3.2 Cấu trúc hệ mật DES 20 10 4/12/2016 3.2 Cấu trúc hệ mật DES S-box S-box 21 3.2 Cấu trúc hệ mật DES S-box S-box 22 11 4/12/2016 3.2 Cấu trúc hệ mật DES S-box S-box 23 3.2 Cấu trúc hệ mật DES S-box S-box 24 12 4/12/2016 3.2 Cấu trúc hệ mật DES Straight Permutation 25 3.2 Cấu trúc hệ mật DES Using mixers and swappers, we can create the cipher and reverse cipher, each having 16 rounds First Approach To achieve this goal, one approach is to make the last round (round 16) different from the others; it has only a mixer and no swapper In the first approach, there is no swapper in the last round 26 13 4/12/2016 3.2 Cấu trúc hệ mật DES Using mixers and swappers, we can create the cipher and reverse cipher, each having 16 rounds 27 3.2 Cấu trúc hệ mật DES Key Generation The round-key generator creates sixteen 48-bit keys out of a 56-bit cipher key 28 14 4/12/2016 3.2 Cấu trúc hệ mật DES 29 3.2 Cấu trúc hệ mật DES 30 15 4/12/2016 3.2 Cấu trúc hệ mật DES Key-compression table 31 3.2 Cấu trúc hệ mật DES Ví dụ We choose a random plaintext block and a random key, and determine what the ciphertext block would be (all in hexadecimal): 32 16 4/12/2016 3.2 Cấu trúc hệ mật DES 33 3.2 Cấu trúc hệ mật DES 34 17 4/12/2016 3.2 Cấu trúc hệ mật DES At the destination, Bob can decipher the ciphertext received from Alice using the same key 35 3.3 Thám mã hệ mật DES Two desired properties of a block cipher are the avalanche effect and the completeness Completeness effect Completeness effect means that each bit of the ciphertext needs to depend on many bits on the plaintext 36 18 4/12/2016 3.3 Thám mã hệ mật DES During the last few years critics have found some weaknesses in DES Weaknesses in Cipher Design Weaknesses in S-boxes Weaknesses in P-boxes Weaknesses in Key 37 3.3 Thám mã hệ mật DES 38 19 4/12/2016 3.3 Thám mã hệ mật DES 39 3.3 Thám mã hệ mật DES Trong trường hợp khóa K có khóa có độ an tồn khóa tồn 40 20 4/12/2016 3.3 Thám mã hệ mật DES 41 3.3 Thám mã hệ mật DES Let’s try the first weak key to encrypt a block two times After two encryptions with the same key the original plaintext block is created Note that we have used the encryption algorithm two times, not one encryption followed by another decryption Weak key should be avoided 42 21 4/12/2016 3.3 Thám mã hệ mật DES 43 3.3 Thám mã hệ mật DES 44 22 4/12/2016 3.3 Thám mã hệ mật DES A pair of semi-weak keys in encryption and decryption 45 3.3 Thám mã hệ mật DES 46 23 ...4/12/2016 3. 2 Cấu trúc hệ mật DES S-box S-box 21 3. 2 Cấu trúc hệ mật DES S-box S-box 22 11 4/12/2016 3. 2 Cấu trúc hệ mật DES S-box S-box 23 3.2 Cấu trúc hệ mật DES S-box S-box 24 12 4/12/2016 3. 2 Cấu... Key 37 3. 3 Thám mã hệ mật DES 38 19 4/12/2016 3. 3 Thám mã hệ mật DES 39 3. 3 Thám mã hệ mật DES Trong trường hợp khóa K có khóa có độ an tồn khóa tồn 40 20 4/12/2016 3. 3 Thám mã hệ mật DES 41 3. 3... 4/12/2016 3. 3 Thám mã hệ mật DES 43 3 .3 Thám mã hệ mật DES 44 22 4/12/2016 3. 3 Thám mã hệ mật DES A pair of semi-weak keys in encryption and decryption 45 3. 3 Thám mã hệ mật DES 46 23

Ngày đăng: 02/02/2023, 12:22

Tài liệu cùng người dùng

Tài liệu liên quan