Skip to content

mhe/jspaillier

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

jspaillier

jspaillier is a simple proof-of-concept Javascript implementation of the Paillier homomorphic encryption scheme. A demonstration of the code can be found at here.

Do keep in mind this is proof-of-concept code. Also, doing crypto in Javascript is typically considered to be a Bad Idea (tm), see also the discussion "Javascript Cryptography Considered Harmful".

Dependencies

jspaillier has a single dependency: jsbn. You will need at least jsbn.js, jsbn2.js, prng4.js, and rng.js

Usage

See the included demo page for information on how to use this library.

Acknowledgements

A large part of the work on this library was done at TNO in a project supported by the "COMMIT/" program.

About

Javascript proof-of-concept implementation of the Paillier cryptosystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published