Post
Topic
Board Development & Technical Discussion
Merits 7 from 3 users
Re: Thoughts on burner addresses
by
vjudeu
on 10/06/2022, 05:41:20 UTC
⭐ Merited by vapourminer (3) ,ETFbitcoin (2) ,pooya87 (2)
Quote
Hash functions dont have nice mathematical properties such as h(a+b)=h(a)+h(b).
You can use homomorphic encryption if you need such properties.

Quote
To put simply if you can reverse the following function and tell me what `a` and `b` were you can also reverse hash functions:
Code:
a + b = 10
Exactly. Inside hash functions, there are many things that are irreversible. If you have "uint32=mod(otherUint32+anotherUint32,2^32)", then there is no chance to reverse it, because for any given "uint32", there are 2^32 possible pairs of "(otherUint32,anotherUint32)", that will lead us to the same result. Also, there are binary operations, like AND, OR, XOR, that will mix it further, and make it a complete mess. Also don't forget about rotations, they are making it rock solid, because then tracking dependencies between single bits is getting exponentially harder. I think some explanation of the hash functions, based on reduced number of rounds, should be prepared, I will add it to my TODO list.