Skip to content

Learn private information retrieval through homomorphic encryption in TypeScript

Notifications You must be signed in to change notification settings

vishnugopal/sharded-seal-lookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharded-seal-lookup

Sharded Seal Lookup aims to help folks learn how to implement private information retrieval using homomorphic encryption. None of this code should be used in production, but it should be a good starting point for learning about the topic.

Getting Started

  1. First install bun, a fast batteries-included runtime for JavaScript and TypeScript.
  2. Run bun install to install the dependencies.
  3. Now EXPLAIN=1 bun run test.ts should get you started.
  4. test-values.ts is the same as test.ts but with values instead of just the presence of mobile numbers.

For more detailed explanations, you can increase the explain parameter above, i.e. EXPLAIN=2 bun run test.ts.

Exploring the Code

I've tried as much as possible to make the code easy to read and understand. Start from test.ts and make your way through the other files.

About

Learn private information retrieval through homomorphic encryption in TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published