← Back to context Comment by oblio 10 hours ago Why double sha256? 4 comments oblio Reply haakon 3 hours ago 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 vscode-rest 9 hours ago a that’s the botcoin hashing algorithm. oblio 9 hours ago I figured that part out, I wonder why it's being doubled. vscode-rest 4 hours ago That was the way satoshi wanted it. No other explanation is known.
haakon 3 hours ago 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
vscode-rest 9 hours ago a that’s the botcoin hashing algorithm. oblio 9 hours ago I figured that part out, I wonder why it's being doubled. vscode-rest 4 hours ago That was the way satoshi wanted it. No other explanation is known.
oblio 9 hours ago I figured that part out, I wonder why it's being doubled. vscode-rest 4 hours ago That was the way satoshi wanted it. No other explanation is known.
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
a that’s the botcoin hashing algorithm.
I figured that part out, I wonder why it's being doubled.
That was the way satoshi wanted it. No other explanation is known.