jimmysong / programmingbitcoin

Repository for the book
Other
1.75k stars 656 forks source link

Chapter 3, Explanation of why doubling SHA-256 is more secure seems wrongs #265

Open mathdufo opened 1 year ago

mathdufo commented 1 year ago

If you find 2 numbers a and b for which f(a) = f(b) -> f(f(a)) = f(f(b)). Thus it doubling SHA-256 does not protect against collision.