Question: how zero knowledge proof works?
Answer: Zero-knowledge proof. ... In cryptography, a zero-knowledge proof or zero-knowledge protocol is a method by which one party (the prover) can prove to another party (the verifier) that they know a value x , without conveying any information apart from the fact that they know the value x .