Questions tagged [zokrates]

Use this tag for question about ZoKrates (Toolbox for zkSNARKs on Ethereum).

Filter by
Sorted by
Tagged with
1
vote
1answer
15 views

How to verify the sha256 result of integer 5 in the Zokrates tutorial?

The Zokrates tutorial here starts with calculating the SHA256 hash of (the number) 5. The hex representation of the result is shown at the bottom here: However, I could not reproduce this on my ...
1
vote
0answers
19 views

Zokrates backend “gm17” not supported

I am trying to experiment with ZoKrates library. When I use ./zokrates setup command, it warns me about gm16 malleability. So, I tried to change the proving scheme to gm17. But I keep getting the ...
1
vote
1answer
33 views

Is there a way to obtain the same Hash using Keccak256 from Web3 and ZoKrates hash function such as sha256packed?

I am trying to use the hash obtained from keccak256 (applied to a number or input) and using it into sha256packet from ZoKrates (or other function) for comparing it with the Hash obtained in Zokrates ...
0
votes
0answers
35 views

Gas Limit exeeded (-3200 error) - verifier and Zokrates with Rinkeby

Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending? gas required exceeds allowance (6995524) or always failing ...
0
votes
0answers
79 views

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MalformedVerifyingKey', src/libcore/result.rs:999:5

I saw Zokrates is tagged now here. I assume we can post here. I have the error below. Any idea what could be the cause? I am trying to implement a simple Zokrates program. The preceding steps all run,...
0
votes
1answer
65 views

In tutorial of ethereum zokrates, high-level code compile error

im trying to follow this tutorial - https://zokrates.github.io/sha256example.html I built zokrates docker provided and copied the source code to the docker, and then tried to compile the code. here ...
1
vote
1answer
273 views

ZK-SNARKS with ZoKrates - problems with proving the hash preimage tutorial

Just noticed today that ZoKrates has finally support for SHA256! I wanted to see it in action, so I followed the tutorial at https://zokrates.github.io/sha256example.html with a slight modification of ...