Live data from Hacker News

Confess your love with zero-knowledge

zkcrush.xyz

81–90 of 205 posts

Re: Confess your love with zero-knowledge

#81

"First and Last name capitalised" Seems like someone hasn't read the famous "Falsehoods Programmers Believe about Names"[0] [0] https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-...

I mean, it’s basically a helpful hint there to maximize the chance that both parties include the same names with the same capitalizations

Re: Confess your love with zero-knowledge

#82
post #59
post #53

I remember reading a joke research paper about something like this. It explored all currently known methods of confessing your love, their pros and cons, and had a funny acronym for each. It then proposed a newer, secure algorithm for confessing to your crush if the feeling was mutual, and without leaking information to 3rd parties. I'm trying to find it, but I don't have it saved and I haven't found it on Google yet…

The SENPAI protocol! http://sigtbd.csail.mit.edu/pubs/2016/paper10.pdf

This is probably the geekiest CS paper I ever read!

Re: Confess your love with zero-knowledge

#83

It's fascinating to see how far people are willing to go to avoid the awkward feeling of potential rejection. I mean I have been there. But as I am older this just feels funny. If you like someone just tell them. Rejection is part of the fun.

Right? I embraced rejection therapy and the results were scary good. A whole new world opened up, not only in romance, but sales, financing, recruitment, etc.

Re: Confess your love with zero-knowledge

#84
post #12

Earlier quoted context omitted.

If it tells you how many letters are right, and how many are in the right place, it could become Datle.

Challenge: build something worthy of being called 204Date (2048 clone).

Match fruits until you get a date?

Re: Confess your love with zero-knowledge

#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)

Re: Confess your love with zero-knowledge

#87
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)

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

Re: Confess your love with zero-knowledge

#88
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.

Re: Confess your love with zero-knowledge

#89

https://github.com/amirgamil/zk-crush/blob/main/pages/crush.... const isMatch = React.useMemo(() => hash === crushHash, [crushHash]); Sure is a lot of work to do a string comparison 'efficiently'.

That's mad because the useMemo clearly has to do an equality check to see if it changed anyway...

Re: Confess your love with zero-knowledge

#90
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)

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.
Post reply on HN