TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Rijndael S-box in 512 bytes of Python

31 点作者 juliusgeo超过 2 年前

3 条评论

pxeger1超过 2 年前
Some explanation of the context, and some more solutions, can be found at <a href="https:&#x2F;&#x2F;codegolf.stackexchange.com&#x2F;q&#x2F;3766" rel="nofollow">https:&#x2F;&#x2F;codegolf.stackexchange.com&#x2F;q&#x2F;3766</a>, including a 176 byte solution in Python.
评论 #34264929 未加载
juliusgeo超过 2 年前
Code golf style implementation of AES S-box and inverse in the same number of bytes as just pre-calculating the tables.
badrabbit超过 2 年前
The rijndael S-box unlike some other ciphers I&#x27;ve read about, does not use &quot;nothing up my sleeve&quot; numbers but uses numbers with specific mathematical properties. I don&#x27;t think that means anything nefarious was intended but I&#x27;ve always wondered if replacing that with something like &quot;digits of pi starting from a random offset&quot; would be workable?<p>Pardon the ignorance, I know little about crypto.
评论 #34282304 未加载