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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Reversing an integer hash function

87 点作者 flebron超过 3 年前

4 条评论

rurban超过 3 年前
I&#x27;m collecting such inverters at <a href="https:&#x2F;&#x2F;github.com&#x2F;rurban&#x2F;smhasher&#x2F;tree&#x2F;inverse&#x2F;inverse" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rurban&#x2F;smhasher&#x2F;tree&#x2F;inverse&#x2F;inverse</a><p>But only 3 so far.
评论 #29946668 未加载
评论 #29946780 未加载
superjan超过 3 年前
Is there a category of hash functions that hash a 64&#x2F;32 bit input to exactly 64&#x2F;32 bits output, such that all inputs are uniquely preserved? This could be an interesting property for a hash table of integers, because a hash match implies a key match.
评论 #29946987 未加载
评论 #29946553 未加载
评论 #29946633 未加载
评论 #29949158 未加载
评论 #29946889 未加载
评论 #29947043 未加载
评论 #29949527 未加载
评论 #29975760 未加载
blastonico超过 3 年前
&gt; otherwise you could simply trace backwards and generate an input that produces a specific hash<p>This is when I know for sure that I&#x27;m not included in that &quot;you&quot;.
clon超过 3 年前
Excellent tutorial for bitwise arithmetic this is. The key is the motivation you receive from the prospect of being able to do something that seems &quot;l33t&quot;.