-
Notifications
You must be signed in to change notification settings - Fork 26
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
Method checkPrime() is too slow #16
Comments
so diffie-hellman arithmetic is pretty slow in general, so if you are able to use elliptical curve diffie hellman to authenticate then that is probably preferable for you. checkPrime is simply the very first bit of big number math being done, if it can't get through that it probably won't get there the latter stuff. |
Can you please get additional information about this method? Commented code is always usefull) |
In previous versions of node it would throw an error if you used an unsafe On Mon, Oct 26, 2015, 2:14 AM zhulduz notifications@github.com wrote:
|
Thanks a lot) |
Hi.
I use ssh2 library https://github.com/mscdex/ssh2 in a browser. I have faced up with next problem.
Method
checkPrime()
at this codeworks very very slowly, so I can't connect to my server. I try to connect by key with a passphrase, 'ctr' ciphers is used.
As I discovered method
Red.prototype.pow
make such delays.Thanks a lot.
The text was updated successfully, but these errors were encountered: