• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dchest / scrypt-async-js / 50
99%
master: 98%

Build:
Build:
LAST BUILD BRANCH: v2.0.1
DEFAULT BRANCH: master
Ran 10 May 2015 03:23PM UTC
Jobs 1
Files 1
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
50

push

travis-ci

dchest
Add synchronous way to use scrypt.

Now there are three general ways to call scrypt:

scrypt(password, salt, logN, r, dkLen, interruptStep, callback, [encoding])

Derives a key from password and salt and calls callback with derived key
as the only argument. The calculations are interrupted with zero
setTimeout at the given interruptSteps to avoid freezing the browser.
Encoding is optional.

scrypt(password, salt, logN, r, dkLen, callback, [encoding])

Same as first, but uses default interruptStep (1000). Encoding is
optional.

scrypt(password, salt, logN, r, dkLen, [encoding]) -> returns result

Synchronous: doesn't interrupt calculations and returns the result
instead of passing it to callback. Encoding is optional. Perfect for use
in web workers.

249 of 252 relevant lines covered (98.81%)

708579.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 50.1 10 May 2015 03:23PM UTC 0
98.81
Travis Job 50.1
Source Files on build 50
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #50
  • c3c7c8d6 on github
  • Prev Build on sync (#47)
  • Next Build on sync (#51)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc