TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Building a ZKP Scheme for Humans

1 pointsby locriacyberalmost 3 years ago
Hello HN,<p>I am looking to find a ZKP scheme for humans. Instead of remembering passwords, the user can remember a unique function that has a certain property. Services then probe the user to prove that they know such a function, without revealing the function to the service.<p>The problem is, I&#x27;m not good at cryptography. I need to find a set of functions that one such function is<p>- is easy to evaluate in my head - is possible for me to remember - can be pre-calculated - reasonably fast to use in ZKP<p>One example of a function is to imaging a 3D cellular shape with holes. The challenge type is a list of &quot;discrete movement through the space&quot;, and the response is a list of &quot;crossing the boundary of the 3D shape&quot;.<p>I hope you hackers have a better idea of what types to use for `C`, `R`, and how to choose `generate_f`.<p>details in pseudo-code:<p>```idris2 -- this is public -- the secret `f` generator -- should discourage rainbow table generate_f : (random_seed: Seed) -&gt; P -&gt; F<p>-- this is private -- the user remembers a function `f` with certain property in set `P` -- this function should be easy to remember and calculate for humans F : Type F = (challenge: C) -&gt; (response: R) f : F<p>-- this is public -- prove that the function is generated with `property` from its response -- this should be straight-forward to implement using ZKP verify : (property: P) -&gt; (challenge: C) -&gt; (response: R) -&gt; bool ```

no comments

no comments