Unit 3-Symmetric Key Crypto_Part35

Unit 3-Symmetric Key Crypto_Part35 - (K[0,K[1,K[2,K[3 = 128...

This preview shows pages 1–2. Sign up to view the full content.

Unit 3 - 69 Assuming 32 rounds: (K[0],K[1],K[2],K[3]) = 128 bit key (L,R) = plaintext (64-bit block) delta = 0x9e3779b9 sum = 0 for i = 1 to 32 sum += delta L += ((R<<4)+K[0]) (R+sum) ((R>>5)+K[1]) R += ((L<<4)+K[2]) (L+sum) ((L>>5)+K[3]) next i ciphertext = (L,R) TEA Encryption

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Unit 3 - 70 Assuming 32 rounds:
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (K[0],K[1],K[2],K[3]) = 128 bit key (L,R) = ciphertext (64-bit block) delta = 0x9e3779b9 sum = delta << 5 for i = 1 to 32 R − = ((L<<4)+K[2]) ⊕ (L+sum) ⊕ ((L>>5)+K[3]) L − = ((R<<4)+K[0]) ⊕ (R+sum) ⊕ ((R>>5)+K[1]) sum − = delta next i plaintext = (L,R) TEA Decryption...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

Unit 3-Symmetric Key Crypto_Part35 - (K[0,K[1,K[2,K[3 = 128...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online