求某S盒的逆S盒
已知某S盒的真值表,求其对应的逆S盒的真值表。以AES 的S盒为例:
#include <stdio.h>
int main()
{
unsigned char sbox[256] =
{
0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76,
0xca, 0x82, 0xc9, 0x7d, 0xfa, 0
原创
2021-07-16 19:34:10 ·
737 阅读 ·
0 评论