Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
oblio
12 days ago
|
parent
|
context
|
favorite
| on:
Bitcoin miners are losing on every coin produced a...
Why double sha256?
help
haakon
12 days ago
|
next
[–]
The disappointing truth is that we simply don't know. Satoshi never explained it. For SHA-2 it can be used as a mitigation against length-extension attacks¹, and this seems like the most likely explanation, but it's just speculation.
¹
https://en.wikipedia.org/wiki/Length_extension_attack
reply
vscode-rest
12 days ago
|
parent
|
next
[–]
Would length extension impact bitcoin? The messages aren’t secret afaik.
reply
vscode-rest
12 days ago
|
prev
[–]
a that’s the botcoin hashing algorithm.
reply
oblio
12 days ago
|
parent
[–]
I figured that part out, I wonder why it's being doubled.
reply
vscode-rest
12 days ago
|
root
|
parent
[–]
That was the way satoshi wanted it. No other explanation is known.
reply
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: