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
We need to add a couple samples to help people see how Merlin is used. I just had a conversation with David Vorick who said those examples really help make sense of Merlin.
Example 1: hashing structured data
How HMAC(key, data) would look like on a structured data:
t = Transcript::new(b"Example domain");
t.append_bytes(b"key",b"secretpassword");
t.append_bytes(b"name",b"Merlin");
t.append_bytes(b"job",b"Magic");
hash = t.challenge_bytes(32);
We need to add a couple samples to help people see how Merlin is used. I just had a conversation with David Vorick who said those examples really help make sense of Merlin.
Example 1: hashing structured data
How
HMAC(key, data)
would look like on a structured data:Example 2: use in a ZKP protocol
Example 3: generating randomness with TranscriptRNG
...
The text was updated successfully, but these errors were encountered: