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
I've been looking into the differences between the WhatsAppV1Configuration and ExperimentalConfiguration<L>. Beyond the obvious domain binding, I'm kind of struggling to understand the reasons behind differences I see. From what I surmise, these appear to be the meaningful changes:
Empty values are handled different (hashed zeroes in whatsapp and zeroes in experimental)
WhatsApp: hashed zero-values
Experimental: Zero-valued arrays
commitment nonce's are bound differently
Whatsapp: Key, label, version, value
Experimental: Key, Label, namespace
The empty label has changed
WhatsApp: [1u8;32]
Experimental: [1u8, 0u8 x 31]
Here are my best guesses for the reasoning behind changes
Performance and visibility. Reduces runtime hashing of constant values and human-recognizable empties
It's not clear to me why this was done. Unless there's some property that makes consistent label nonces desirable, this seems like a bad idea. I base that only on the name nonce, though. I haven't yet figured out why this needs to be a nonce.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've been looking into the differences between the
WhatsAppV1ConfigurationandExperimentalConfiguration<L>. Beyond the obvious domain binding, I'm kind of struggling to understand the reasons behind differences I see. From what I surmise, these appear to be the meaningful changes:[1u8;32][1u8, 0u8 x 31]Here are my best guesses for the reasoning behind changes
Beta Was this translation helpful? Give feedback.
All reactions