- Avalanche Effect: A small change in the input should result in a significant change in the output. Ensure that the new mapping maintains this property.
- Non-linearity: The “S-box” should be highly non-linear to resist linear attacks. Verify that the new mappings do not introduce linear patterns.
- Bijectiveness: If the “S-box” is used in a context where it needs to be bijective, ensure that each input maps to a unique output and vice-versa.
- Cryptographic Strength: Changing the mappings might weaken the cipher unless carefully analyzed. Use cryptanalysis techniques to evaluate the strength of the new “S-box”.
can we change the present cipher s box output table
2 次查看(过去 30 天)
显示 更早的评论
Present cipher s box table contains standard form of inputs correspondance to the outputs. Can we change the outputs with regarding some other inputs. eg: input0000 maps to output1100 and input1111 maps to output0010. shall we change the outputs eg:input0000 maps to output0010, input 1111 maps to output1100??
0 个评论
回答(1 个)
Sameer
2024-8-23
Hi Mohanapriya
From my understanding, you want to modify the output mappings of an “S-box” in a cipher.
Yes, you can change the outputs of an “S-box”, but doing so will alter its cryptographic properties and potentially its effectiveness. An “S-box” is a fundamental component in block ciphers, and its design is critical for ensuring security properties.
Considerations When Modifying an S-box:
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Encryption / Cryptography 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!