Comments (2)
以第一行的第一个元素为例,最终的结果应该是 2s0 ^ 3s1 ^ s2 ^ s3
。推导如下:
2s0 ^ 3s1 ^ s2 ^ s3
= 2s0 ^ (2^1)s1 ^ s2 ^ s3
= 2s0 ^ (2s1 ^ s1) ^ s2 ^ s3
= 2s0 ^ 2s1 ^ s1 ^ s2 ^ s3
= (2s0 ^ s0 ^ s0) ^ 2s1 ^ s1 ^ s2 ^ s3
= 2s0 ^ s0 ^ s0 ^ 2s1 ^ s1 ^ s2 ^ s3
= 2s0 ^ 2s1 ^ s0 ^ s0 ^ s1 ^ s2 ^ s3
= 2(s0^s1) ^ s0 ^ (s0 ^ s1 ^ s2 ^ s3)
2(s0^s1)
表示为 mult2(tmp ^ tmp[i+1])
^ s0
表示为 ^ tmp[i]
^ (s0 ^ s1 ^ s2 ^ s3)
表示为 ^ t
,其中t
是tmp[i] ^ tmp[i+1] ^ tmp[i+2] ^ tmp[i+3]
其它可以类似推导。
from aes_128.
666666666666, 感谢您解答了我的疑惑, 懂了, 再次祝您工作顺利, 万事如意, 感谢您!!!!
from aes_128.
Related Issues (4)
- [INVALID] Windows binary HOT 2
- 能否出个aes_256的查表版本 HOT 2
- 再次感谢您惊人的代码, 巧妙地实现方式, 但是还有个解密的问题(逆列混合运算) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aes_128.