A presentation about zero knowledge proofs in node.js
Great articles to go through this and sources for the talk:
- https://medium.com/swlh/a-zero-knowledge-proof-for-wheres-wally-930c21e55399
- https://blog.cryptographyengineering.com/2014/11/27/zero-knowledge-proofs-illustrated-primer/
- http://web.mit.edu/~ezyang/Public/graph/svg.html
A demo of an authentication system using RSA keypairs to prove the user has a password, without sending the password.
This is bad because we use the password as a source of randomness.
A demo of an authentication system using RSA keypairs to prove the user has a password, without sending the password.
The cons of this approach is that we store the keypair on the client side (which needs to be accounted for in the system).
Moral of the story: Don't roll your own crypto!
Alternatives:
An implementation of this paper.
- https://github.com/framp/zero-knowledge-node/blob/master/paillier-zero-knowledge/
- https://github.com/framp/paillier-in-set-zkp (demoed code packaged as a lib)
We want to be able to encrypt a value and generate a proof that the encrypted value is among a set of valid values.