·

Cursos Gerais ·

Rede de Computadores

Send your question to AI and receive an answer instantly

Ask Question

Preview text

SDES DES SIMPLIFICADO ENCRYPTION DECRYPTION 10bit key 8bit plaintext 8bit plaintext 8bit ciphertext 8bit ciphertext P10 P10 Shift Shift P8 P8 fK fK K1 K1 fK fK SW SW K2 K2 fK fK IP1 IP IP IP1 Figure 31 Simplified DES Scheme SDES GERAÇÃO DAS SUBCHAVES K1 e K2 P1035274101986 P8 637485109 LS1 Deslocamento circular à esquerda de uma posição LS2 Deslocamento circular à esquerda de duas posições Exemplo K 10100 00010 P10 10000 01100 LS1 00001 11000 P8K11010 0100 LS2 00100 00011P8K20100 0011 PROCESSO DE ENCRIPTAÇÃO fKLR L XOR FRKi RèEncriptarDecriptar IP 2 6 3 1 4 8 5 7 e IP1 4 1 3 5 7 2 8 6 EP 4 1 2 3 2 3 4 1 P4 2 4 3 1 S0 1 0 3 2 S1 0 1 2 3 3 2 1 0 2 0 1 3 0 2 1 3 3 0 1 0 3 1 3 2 2 1 0 3 n1n2n3n4 è Sin1n4n2n3 Exemplo R 1010 EP 0101 0101 K1 1010 0100 XOR 1111 0001 S01111 è 10 S10100 è 10 1010 P4 0011