安全与隐私righto.com
用纸笔挖比特币:每天 0.67 次哈希
Mining Bitcoin with pencil and paper: 0.67 hashes per day
2014 — 2021,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
Ken Shirriff 记录了一次极端的纸笔实验:手工用 SHA-256 计算来“挖”比特币,得出每天约 0.67 次哈希的结果,直观展示手工挖矿低效到何种程度。文章也借此解释比特币哈希、难度和挖矿的基本原理。
为什么经久不衰:它把抽象的算力和工作量证明变成可亲手复现的荒诞实验,让人一眼理解为什么比特币挖矿必然走向专用硬件。
HN 评论精选
全人类手工挖矿也只相当于约 54 kH/s,日收益约 30 美分。
我可能会算错一步然后被嘲笑,但姑且一试:70 亿人 × 每天 0.67 次哈希 = 每天 46.9 亿次哈希(约每秒 54282 次)。54282 H/s 的日利润是 0.00078760 BTC(0.30 美元)。所以邪恶外星人征服人类后,可以让我们每天为他们产出价值 30 美分的比特币(还不算人类电力成本,也就是食物)。
Drakim查看英文原文
I'm probably going to do one step wrongly and get laughed at, but here goes: 7 000 000 000 humans * 0.67 hashes per day = 4 690 000 000 hashes per day (or 54282.4074074 per second) 54282H/s would give us a daily profit of: 0.00078760 BTC ($0.30) So when the evil space aliens conquers the human race, they can put us to good use to generate 30 cents worth of Bitcoins for them every day (not counting human electricity cost aka food).
人类可能靠模式识别缩小搜索空间,与机器的暴力计算形成互补。
这让我想起王小云发现 MD5(以及其他哈希函数)碰撞,据称主要是手工完成的。比特币哈希的输出条件本质上是受限形式的原像攻击,我想“人类利用哈希函数性质缩小问题空间,让机器暴力搜索剩余部分”的方法是否会有优势。机器擅长快速运算,但人脑通常更擅长发现模式和使用巧思。
userbinator查看英文原文
Reminds me of Xiaoyun Wang's discovery of MD5 (and other hash functions') collisions, which was allegedly done mostly manually: http://www.theepochtimes.com/news/7-1-11/50336.html Given that the output conditions for a Bitcoin hash are essentially a limited form of preimage attack, I wonder if this "human uses properties of hash function to reduce the problem space, lets the machine bruteforce the rest" method could have any advantage. Machines are great at doing operations quickly, but human brains tend to be far better at noticing patterns and using ingenuity.
推荐同作者另一篇用原始比特币协议讲原理的文章。
我是 Ken Shirriff 博客的忠实读者。如果你想进一步了解比特币,我也推荐他那篇《Bitcoins the hard way: Using the raw Bitcoin protocol》。
bryceneal查看英文原文
I'm a big fan of Ken Shirriff's blog. If you're interested in learning more about bitcoin I would also recommend reading his post titled "Bitcoins the hard way: Using the raw Bitcoin protocol".
纸笔生成密钥对理论上可行,但需要大量 77 位模乘且容错要求极高。
大概在这篇文章发表前后,我研究过纸笔钱包的可行性:只用纸笔生成一对密钥需要什么?有一些技巧,比如预计算生成元倍数的大表,但仍需要做数百次 77 位模乘,而且你必须绝对确定自己没有算错。
remcob查看英文原文
Around when this was published I looked into the feasibility of pencil-and-paper wallets. What would it take to generate a key-pair using just pencil and paper? There are tricks like big tables of precomputed multiples of the generator that make it easier, but you still need to do hundreds of 77 digit modular multiplications. And you want to be absolutely sure you made no mistake.
历次讨论
同类还值得读
非法素数
Illegal prime
维基百科条目,介绍“非法素数”:某些素数之所以被称为“非法”,是因为它们经特定编码后,恰好对应一段被法律禁止传播的数据——最著名的是 DVD 解密程序 DeCSS 的代码,有人把…
安全与隐私上首页 5 次 · 2010–2021en.wikipedia.org编辑精选关于 /dev/urandom 的常见误区
Myths about /dev/urandom
(Thomas Hühn 撰写,2014 年首发并持续更新)逐条反驳关于 /dev/urandom 的常见误解:它与 /dev/random 使用的是同一个 CSPRNG,一旦完…
安全与隐私上首页 5 次 · 2014–20202uo.de编辑精选AES 高级加密标准火柴人图解
A Stick Figure Guide to the Advanced Encryption Standard (AES)
一篇用火柴人漫画形式讲解 AES(高级加密标准)算法的经典科普文章。
安全与隐私上首页 5 次 · 2009–2022moserware.com编辑精选指纹是用户名,不是密码
Fingerprints are Usernames, not Passwords
作者(eCryptfs 维护者、Ubuntu 安全工程师)认为指纹等生物特征是公开、不可更改的标识,应视作用户名而非密码,不能当作秘密凭据用于认证。
安全与隐私上首页 4 次 · 2013–2017blog.dustinkirkland.comHTTPS 连接的最初几毫秒(2009)
The First Few Milliseconds of an HTTPS Connection (2009)
逐毫秒拆解一次 HTTPS 连接建立时发生了什么,重点讲 TLS 握手、证书验证、RSA 签名与密钥协商等机制,面向不熟悉该领域的读者。
安全与隐私上首页 4 次 · 2009–2020moserware.com编辑精选