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
There's a chance that if this nonce function is accidentally called twice with the same argument values, the argument pointers store different addresses. Thus, we could hash these locations like this:
I like it. The address will maybe only have five or ten bits of entropy ... but to prevent lattice attacks in practice you pretty-much only need one (assuming your nonce, aside from being reused, is pretty high-entropy :))
The musig nonce function looks as follows:
There's a chance that if this nonce function is accidentally called twice with the same argument values, the argument pointers store different addresses. Thus, we could hash these locations like this:
However, it should be possible to test the nonce function without this, to make sure that different values are sufficient to produce a different hash.
This idea was originally brought up by @elichai.
The text was updated successfully, but these errors were encountered: