Skip to content

Tell your crush you like them with zero-knowledge

License

Notifications You must be signed in to change notification settings

neeasade/zk-crush

 
 

Repository files navigation

zk-Crush

zk-Crush is a way to tell your crush you like them with zero-knowledge.

overview

How it works

The idea is that we hash the name of your crush, then people can hash their name and check if their hash matches the hash of the crush you've provided. Therefore it's zero-knowledge because we don't store your name, we only know the hash, so finding a hash that matches corresponds to knowing the pre-image to the hash. Also note that this is entirely client-side, we store nothing on a server.

How to use it

Very simple, you enter your name and the name of a crush, then click generate.

It will generate a URL that you will be able to publicly share.

example

When people go to this URL, they can enter their name, to generate the hash of their name and see if it matches the hash of your crush. If it doesn't, no harm done, if it does, they now know!

notmatch

match

Note this is mostly a joke and a toy, do not use this if you stand to seriously lose something!

About

Tell your crush you like them with zero-knowledge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.1%
  • CSS 14.3%
  • JavaScript 3.6%