Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript crypto lib performance comparison #1

Open
nilstoedtmann opened this issue Jan 23, 2013 · 0 comments
Open

Javascript crypto lib performance comparison #1

nilstoedtmann opened this issue Jan 23, 2013 · 0 comments
Assignees

Comments

@nilstoedtmann
Copy link
Member

CC @jhb

As long as WebCrypto hasn't arrived, we have to use other libs for JS clients. Accidentally, we are using Leemon Baird's BigInt library, but we are not too happy with it, and we need other stuff as well (e.g. sha256 and PKCS1).

We should do performance tests with the most promising JS crypto libs:

  • BigInt encoding/decoding, BigInt inversion (= calculate unblinder) and low-exponent exponentiation (blinding) with these libs: Baird, Wu, Shapiro, Shop-js (Hanewinkel says that was the fastest RSA he found) and (RSA test only) OpenPGP.js and Forge
  • Sha256 tests with SJCL, Crypto-js, jsSHA/OpenPGP.js and Forge
@ghost ghost assigned nilstoedtmann Jan 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant