sCrypt implementation in JavaScript?

The answer linked above points to a project that no longer exists.

This project, however, is still around: https://github.com/tonyg/js-scrypt


https://github.com/tonyg/js-scrypt is an emscripten-compiled version of Colin Percival's scrypt() function.


If you are talking about tenebrix, the choice of scrypt was better then bcrypt for the goals set. I so far have only found one incomplete javascript implementation of scrypt and hit on this page while searching.

https://github.com/byrongibson/scrypt-js https://github.com/cheongwy/node-scrypt-js was all I found so far, and seems no code yet.

Guess as a new reason I can't just comment on this above like I wanted, sigh.


Here are the two I can find:

  • https://github.com/barrysteyn/node-scrypt
  • https://github.com/cheongwy/node-scrypt-js

I've tried only barrysteyn's node-scrypt, and its excellent. He recently put a lot of effort into making the library conform to javascript conventions, and the API is great.