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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Damm algorithm

75 点作者 tkmcc超过 10 年前

4 条评论

danieltillett超过 10 年前
The Damm algorithm is an amazingly useful algorithm. I put together a Base32 version that I use for checking passwords that users enter [1]. It is only in C and PHP right now - I need to get around to porting it javascript [2].<p>[1] <a href="http://www.tillett.info/2014/06/12/base32-implementation-of-the-damn-error-detection-algorithm-in-c/" rel="nofollow">http:&#x2F;&#x2F;www.tillett.info&#x2F;2014&#x2F;06&#x2F;12&#x2F;base32-implementation-of-...</a><p>[2] <a href="https://github.com/DanielTillett/Damm32" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;DanielTillett&#x2F;Damm32</a>
评论 #8607601 未加载
评论 #8606698 未加载
评论 #8610928 未加载
评论 #8608141 未加载
ozh超过 10 年前
Took me at least 1 minute to notice that it was not &quot;damn&quot;, which was quite puzzling me...
评论 #8608181 未加载
jcampbell1超过 10 年前
So this is an improvement on the Luhn algorithm which is used for credit cards?
评论 #8608246 未加载
oliv__超过 10 年前
Damm