ZKP in WebAssembly

February 12, 2019 ยท View on GitHub

Online version: https://zkwasm.kobi.one

Discussion: https://community.zkproof.org/t/zksnarks-in-webassembly-running-demo-and-discussion/30

CircuitNum ConstraintsCPUPlatformPhaseRunning time (milliseconds)
Discrete Log1085i7-7500Ux86_64Generate881
Discrete Log1085i7-7500Ux86_64Prove169
Discrete Log1085i7-7500Ux86_64Verify5
Merkle Tree (depth 32)44193i7-7500Ux86_64Generate6949
Merkle Tree (depth 32)44193i7-7500Ux86_64Prove831
Merkle Tree (depth 32)44193i7-7500Ux86_64Verify5
Discrete Log1085i7-7500UWASMGenerate3785
Discrete Log1085i7-7500UWASMProve606
Discrete Log1085i7-7500UWASMVerify16
Merkle Tree (depth 32)44193i7-7500UWASMGenerate130047
Merkle Tree (depth 32)44193i7-7500UWASMProve14926
Merkle Tree (depth 32)44193i7-7500UWASMVerify16