Comment by jay_gridbach
5 days ago
Thanks for giving it a try. The Gridbach server only accepts computed result sent from my component.
5 days ago
Thanks for giving it a try. The Gridbach server only accepts computed result sent from my component.
But how do you make sure the user actually runs your component without any modification?
All I can tell here is that I do certain level of valication on server side. As one of the goals of this project is to popularize the fun of mathematics among the general public, I think I would need to avoid a open network configuration to strictly conduct academic verification. The algorithm itself is publicly opened, so anyone can verify the computation step is correct or not. https://github.com/nakatahr/gridbach-core
Never trust the client. You must do a full verification. IIUC from another comment, you only ask the client to return the interval they tested and some token to ensure the server send them that interval.
You must ask for each number in the interval the two primes and a Primality certificate for each prime. https://en.wikipedia.org/wiki/Primality_certificate
The idea is that it's very hard to find the two primes and it's very hard to prove that they are actually primes. But if the client send you both primes and send you each primality certificate, then the verification is very fast. Also, you can store that info so people can see it.
1 reply →
zk-SNARKS maybe?
5 replies →
That sounds interesting. How does that verification work?