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

Long running script warning #12

Closed
GoogleCodeExporter opened this issue Feb 19, 2016 · 5 comments
Closed

Long running script warning #12

GoogleCodeExporter opened this issue Feb 19, 2016 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Problem: Browsers will stop and display a warning when crypto operations takes 
too long to run (like PBKDF2 with large iteration). Means of detection browsers 
use varies, some measure actual time, others measuring # of statements.

Suggested solution: divide up crypto operations into smaller units and run each 
unit through a callback argument. With browsers, callback can be implemented 
using setTimeout or Web worker API. With Node.js, callback can call 
process.nextTick.

Original issue reported on code.google.com by super...@gmail.com on 7 Mar 2011 at 12:34

@GoogleCodeExporter
Copy link
Author

Target release: v3.0.

Original comment by Jeff.Mott.OR on 7 Mar 2011 at 3:47

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Original comment by Jeff.Mott.OR on 7 Mar 2011 at 3:51

  • Added labels: Milestone-3.0

@GoogleCodeExporter
Copy link
Author

Original comment by Jeff.Mott.OR on 7 Mar 2011 at 3:51

@GoogleCodeExporter
Copy link
Author

Hi, you probably noticed by now but I posted two versions of async PBDKF2 on 
the discussion list to work with. Thanks for a great library BTW. - Don

Original comment by super...@gmail.com on 7 Mar 2011 at 8:08

@GoogleCodeExporter
Copy link
Author

Hi Don,

Thanks! That's great work. I added your PBKDF2Async, and it'll roll out with a 
v2.1 release.

The commit details: http://code.google.com/p/crypto-js/source/detail?r=302

Original comment by Jeff.Mott.OR on 14 Mar 2011 at 5:16

  • Changed state: Fixed
  • Removed labels: Milestone-3.0

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