busybox11 / zk-crush

Tell your crush you like them with zero-knowledge

Home Page:https://zkcrush.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://zkcrush.xyz/

License:MIT License


Languages

Language:TypeScript 82.1%Language:CSS 14.3%Language:JavaScript 3.6%