S盒:修订间差异

维基百科,自由的百科全书
删除的内容 添加的内容
新条目
(没有差异)

2013年3月23日 (六) 03:10的版本

密码学中,一个S盒Substitution-box置换盒)是对称密钥算法执行置换计算的基本结构。在块密码中,它们通常用于模糊密钥和密文之间的关系——香农混淆理论。[1]

通常,S-Box接受特定数量的输入比特,m,并将其转换为特定数量的输出比特,n,其中n 不一定等于m[1]

DES的6×4位S盒(S5)是一个很好的例子:

S5 Middle 4 bits of input
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Outer bits 00 0010 1100 0100 0001 0111 1010 1011 0110 1000 0101 0011 1111 1101 0000 1110 1001
01 1110 1011 0010 1100 0100 0111 1101 0001 0101 0000 1111 1010 0011 1001 1000 0110
10 0100 0010 0001 1011 1010 1101 0111 1000 1111 1001 1100 0101 0110 0011 0000 1110
11 1011 1000 1100 0111 0001 1110 0010 1101 0110 1111 0000 1001 1010 0100 0101 0011

参考文献

  1. ^ 1.0 1.1 Chandrasekaran, J. et al. A Chaos Based Approach for Improving Non Linearity in the S-Box Design of Symmetric Key Cryptosystems. Meghanathan, N. et al. (编). Advances in Networks and Communications: First International Conference on Computer Science and Information Technology, CCSIT 2011, Bangalore, India, January 2-4, 2011. Proceedings, Part 2. Springer. 2011: 516. ISBN 978-3-642-17877-1.