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

Provide BigInteger alternative #26

Open
GoogleCodeExporter opened this issue Mar 12, 2015 · 1 comment
Open

Provide BigInteger alternative #26

GoogleCodeExporter opened this issue Mar 12, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

As noted in issue 21, GWT compiles a non-performant BigInteger 
(https://code.google.com/p/google-web-toolkit/issues/detail?id=8310). This 
results in RSA key generation taking hours or days when running in production 
mode.

Without waiting for GWT core to fix this, one potential way forward would be to 
wrap jsbn.js (http://www-cs-students.stanford.edu/~tjw/jsbn/) with a JSNI 
BigInteger, and use that instead in the RSA algorithms. 

Original issue reported on code.google.com by quickte...@gmail.com on 5 Feb 2014 at 12:58

@GoogleCodeExporter
Copy link
Author

(For reference, Forge, which uses jsbn.js, can create 2048 bit RSA keypairs in 
a minute or two.)

Original comment by quickte...@gmail.com on 5 Feb 2014 at 12:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant