Live data from Hacker News

Confess your love with zero-knowledge

zkcrush.xyz

131–140 of 205 posts

Re: Confess your love with zero-knowledge

#133

Earlier quoted context omitted.

Dont give them any ideas. The RomanceSmartChain is only a few months out at this rate.

$LOVE is MOONING!! Blake2b + Hybrid PoW chain with LOW TRANSACTION FEES and 4 TX/S THROUGHPUT now CONFIRMING COMMITTED RELATIONSHIPS with blockchain technology! Your relationship isn't valid until there are AT LEAST 36 CONFIRMATIONS on $LOVE chain!!1 Also now supporting ON-CHAIN unique NFTs for couples for low fees!!

Link to white paper please

Re: Confess your love with zero-knowledge

#134
post #86

Last year my wife and I suspected we might have gotten each other the same Christmas gift, but didn’t want to spoil the surprise in case we didn’t. So we compared SHA256 hashes... and sure enough they both came out cb17007d (theragun)

Not technically zero knowledge, since you could brute force search her non-matching hash later.

A true ZK comparison[1] would just return a true or false without exposing any other information such as the hash of the item.

I'm sure the hash was good enough for your purpose, however!

[1] https://en.wikipedia.org/wiki/Socialist_millionaire_problem

Re: Confess your love with zero-knowledge

#136
post #86

Last year my wife and I suspected we might have gotten each other the same Christmas gift, but didn’t want to spoil the surprise in case we didn’t. So we compared SHA256 hashes... and sure enough they both came out cb17007d (theragun)

This explained zero knowledge so much easier than that parable about the caves, thank you.

As the sibling comment says, neither gp comment nor this post are zero-knowledge.

But in addition to the definition given in sibling comment, here's another necessary condition of a zero-knowledge proof: it must be possible to forge transcripts (i.e., one party writing both sides of the interaction) of a zk proof even without possessing the secret.

Re: Confess your love with zero-knowledge

#137
post #90

Earlier quoted context omitted.

Doesn't work, because you can reasonably brute-force possible gifts.

Yeah I'm not sure what's the best protocol that's actually zero-knowledge here, but since we both trusted each other to only want to find out whether or not our gifts were the same, and otherwise to not spoil the surprise, this did the job.

You could write a script that does the hash comparison for you and simply outputs “Yes” or “No” for whether the hashes are identical.

Re: Confess your love with zero-knowledge

#139
Nice. Kinda along the lines of what made the current generation of dating apps (starting with Tinder) so popular. Take a large group of 1st and 2nd degree friends. People anonymously select who all they'd like to get with. If there's a match, both parties are notified. If not, no one gets to know. It's such a simple concept, and it's odd that someone like Facebook wasn't able to capitalize on it first despite providing all the infrastructure (the social graph) to make a service like this possible in the first place.
Post reply on HN