You are viewing a single comment's thread from:

RE: ChatGPT API Timeout Set to 2 Minute and Retry Strategy

in Witness Activities3 years ago

!ask Suppose you want to know if you are richer than your friend, but you don't want him/her to know how much you have, also you don't want to know how much he/she has. How do you use zero-knowledge proof to solve this?

Sort:  

Zero-knowledge proof involves two parties, a verifier and a prover. The prover can prove to the verifier that they have a certain piece of information without revealing what it actually is.

In order to use zero-knowledge proof for the given problem, the prover (you) and the verifier (your friend) would need to agree on a certain parameter, such as net worth. Then, the prover would generate a cryptographic proof (also known as a "nonce") that is cryptographically linked to their net worth. This nonce can be validated by the verifier without being aware of the actual amount of money owned by the prover.

If the nonce is valid, then it proves that your net worth is greater than your friends without revealing any of your actual account balances.


command: !ask is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!. !ask is currently based on ChatGPT-3.5

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.089
BTC 61690.34
ETH 1717.13
USDT 1.00
SBD 0.38