You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your documentation you mention adding 0x00 and 0x01 to children and inner nodes and apply it in you hash function as well H(0x01, X). However in your code you don't bring this byte in your CRC calculation. You only show it in serialization.
Based on my googling, we need to add this prefix to the data and the run hashing on it which is what you have in your README file. But your implementation is missing this byte.
Is this a bug?
The text was updated successfully, but these errors were encountered:
Hi,
In your documentation you mention adding
0x00
and0x01
to children and inner nodes and apply it in you hash function as wellH(0x01, X)
. However in your code you don't bring this byte in your CRC calculation. You only show it in serialization.Based on my googling, we need to add this prefix to the data and the run hashing on it which is what you have in your README file. But your implementation is missing this byte.
Is this a bug?
The text was updated successfully, but these errors were encountered: