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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Beamsplitter – Hash function that uses only S-boxes

18 点作者 archivist1超过 5 年前

4 条评论

arkadiyt超过 5 年前
Let&#x27;s ignore for a second the question of security (is it collision&#x2F;pre-image resistant? Dieharder says nothing about this).<p>As a developer, is the fact that it only uses S-boxes supposed to be beneficial to me somehow? Does this mean it runs faster? Uses less memory? Is it an academic exercise? Why would I use this over a different hash function?
评论 #22094801 未加载
评论 #22094187 未加载
评论 #22094492 未加载
mmastrac超过 5 年前
&gt; I went to random.org and generated 32 sets of 256 no-repeat numbers between 0 and 255 inclusive.<p>One suggestion I&#x27;d have here would be using &quot;nothing-up-my-sleeve&quot; numbers like pi&#x2F;e&#x2F;log2 in hex. [1]<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Nothing-up-my-sleeve_number" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Nothing-up-my-sleeve_number</a>
xscott超过 5 年前
Saving a Google search for those (like me) who don&#x27;t know what S-boxes are: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;S-box" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;S-box</a>
cafxx超过 5 年前
I sincerely hope the author will urgently and clearly mark the repo as a toy&#x2F;demo&#x2F;do not use for anything important in the readme.