Coder Social home page Coder Social logo

Comments (4)

tracker1 avatar tracker1 commented on July 24, 2024 1

Looks like the upstream version I used in my copy had an incompatibility with the current one...

https://github.com/tonyg/js-scrypt/commits/master/browser/scrypt.js
https://github.com/tonyg/js-scrypt/

Again, more than open to suggestions on a library to wrap around the same interface... though, should also consider the newer worker in node 11.7 as well as a Promise based interface.

from node-js-scrypt.

tracker1 avatar tracker1 commented on July 24, 2024

I didn't write the underlying js-script, it was copied from an asm compiled version about 6 years ago... so I cannot really comment on that aspect, all I did at that time was write wrappers so that I could at least run a few instances in the background in node via a pool of connected workers.

I should probably just deprecate the package in npm and point to one of the other versions... IIRC, when I wrote it, my results were matching a .Net implementation...

Do you have one you would recommend over the others?

from node-js-scrypt.

tracker1 avatar tracker1 commented on July 24, 2024

Aside, I don't know that I should fix it.. if anyone is using this library currently, I could maybe bump the full version with a NOTE and make this just a wrapper against one of the other libraries you're referencing.

from node-js-scrypt.

novemberde avatar novemberde commented on July 24, 2024

@tracker1 Thank you for your answer.

I found the difference among that libraries. Each library has different function parameter.
Actually, I'd aliased js-scrypt instead of scrypt for making a bundle using webpack, so I found it returns different hash result.

Now, I include 'scrypt' on webpack bundling, it works well!
All is fine.

Thank you again :)

from node-js-scrypt.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.