1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

Update rng_tutorial.md

This commit is contained in:
qbzzt 2020-11-16 07:32:55 -06:00 committed by GitHub
parent 07e4500e65
commit c39045ff47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,8 @@ In this tutorial you learn how to use Zokrates and zero knowledge proofs to reve
## Commit to a preimage
The first step is for Alice and Bob to each come up with a preimage value and calculate the hash to commit to it. There are many ways to calculate a hash,
but here we use Zokrates.
The first step is for Alice and Bob to each come up with a preimage value and calculate the hash to commit to it.
There are many ways to calculate a hash, but here we use Zokrates.
1. Create this file under the name `get_hash.zok`:
```javascript