From the course: Symmetric Cryptography Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
S-Box and P-Box
From the course: Symmetric Cryptography Essential Training
S-Box and P-Box
- [Instructor] We're taking the first big step into the structure of modern block ciphers. Now we'll talk about S-boxes and P-boxes. Substitution boxes and permutation boxes are key components of modern block ciphers. S-boxes are non-linear transformations of a few input bits that provide confusion and P-boxes simply shuffle the input bits around to provide diffusion as we've talked about before. So, the purpose of the S-box, as I said, is to provide confusion. This is a property I mentioned earlier that prevents the output from being easily converted back into the input. The table listed here has 16 possible input values, zero through 15, and these can be represented with four input bits. As far as I can tell, the four-bit output values here do not represent any sequence of arithmetic steps that operated on the input. I generated these randomly from random.org. Modern block ciphers will actually use several different S-boxes to further increase the difficulty of analyzing the cipher,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Simple substitution ciphers5m
-
(Locked)
Polyalphabetic substitution ciphers6m 7s
-
(Locked)
Permutation and transposition ciphers2m 48s
-
(Locked)
Simple one-time pads with XOR2m 38s
-
(Locked)
S-Box and P-Box1m 44s
-
(Locked)
Feistel ciphers1m 55s
-
(Locked)
Linear-feedback shift registers (LFSRs)2m 22s
-
-
-
-