

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 6
click for more info
Not enough gems
Cost: 6 gems
1: Feistel Network
incomplete
2: Feistel Network
incomplete
3: Data Encryption Standard
incomplete
4: DES Review
incomplete
5: Initialization Vectors
incomplete
6: DES Feistel Network
incomplete
7: Substitution Box
incomplete
8: Substitution Box
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Substitution boxes, also known as s-boxes are a key component of many symmetric key algorithms, particularly block ciphers. The primary goal of an s-box, at least in this context, is to obscure the relationship between the key and the ciphertext. An attacker should not be able to derive information about the key from the ciphertext. For this lesson, the s-box examples are completely arbitrary.
Here's a realistic S-box that maps a 6-bit input into a 4-bit output:
011011 -> 1001011111 -> 0110At the end of the day, an s-box is just a lookup table.