1. Trang chủ
  2. » Công Nghệ Thông Tin

Simplified DES doc

13 335 0

Đ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

Thông tin cơ bản

Định dạng
Số trang 13
Dung lượng 139,5 KB

Nội dung

Simplified DES CS-480b Network Security Dick Steflik What is Simplified DES • Developed 1996 as a teaching tool • Santa Clara University\ • Prof. Edward Schaefer • Takes an 8-bit block plaintext, a 10 –bit key and produces an 8-bit block of ciphertext • Decryption takes the 8-bit block of ciphertext, the same 10-bit key and produces the original 8-bit block of plaintext S-DES Scheme IP f k SW f k IP - 1 P10 P8 IP f k SW f k IP - 1 SHIFT SHIFT P8 Encryption Decryption 8-bit plaintext 8-bit plaintext 8-bit ciphertext 8-bit ciphertext K 1 K 1 K 2 K 2 Five Functions to Encrypt • IP – an initial permutation • f k - a complex, 2-input function • SW – a simple permutation that swaps the two nybles • f k - a complex, 2-input function; again • IP – inverse permutation of the initial permutation Encryption Detail I P E/P S0 S1 P4 E/P S0 S1 P4 SW I P -1 K 1 K 2 4 4 8 4 4 2 2 4 Initial Permutation (IP) Move the bits of the original character around a little… k1 k2 k3 k4 k5 k6 k7 k8 k2 k6 k3 k1 k4 k8 k5 k7 Expansion/Permutation (E/P) k4 k1 k2 k3 k2 k3 k4 k1 k1 k2 k3 k4 Expand 4 bits into 8 and permutate them… Key Generation P10 P8 P8 LS-1 LS-1 LS-2 LS-2 8 8 5 5 5 5 5 5 K 1 K 2 10 P10 Permutation k1 k2 k3 k4 k5 k6 k7 k8 k9 k10 k3 k5 k2 k7 k4 k10 k1 k9 k8 k6 P8 Permutation k1 k2 k3 k4 k5 k6 k7 k8 k9 k10 k6 k3 k7 k4 k8 k5 k10 k9 Permutate 10 into 8 . Simplified DES CS-480b Network Security Dick Steflik What is Simplified DES • Developed 1996 as a teaching tool • Santa Clara University • Prof block of ciphertext, the same 10-bit key and produces the original 8-bit block of plaintext S -DES Scheme IP f k SW f k IP - 1 P10 P8 IP f k SW f k IP - 1 SHIFT SHIFT P8 Encryption Decryption 8-bit

Ngày đăng: 29/03/2014, 15:20

Xem thêm

w