Coder Social home page Coder Social logo

sha512crypt-node's People

Contributors

iamfat avatar jounqin avatar mvo5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sha512crypt-node's Issues

License?

Great module but I can't see mention of a license?

NPM Repo Out of Date

It seems pulling from NPMJS gives an out of date version to what is in the repository. Are there plans to update NPMJS to the latest or is there another repo it is under?

Can this be sourced on a web page?

Can this piece of javascript be sourced on a web page whitout nodejs, thus having a browser generate a hash, provided a password and a salt? just like the python example?

£ character seems to produce wrong hash

If I hash asfd£ with salt $6$a7a5dc2fa314dda0 using this library I get:

$6$a7a5dc2fa314dda0$QWeHb0gFesNAVmsvX63.q5wbsV6./f7fmpF.DpqhTWzTQBO08koP65eqCOyTSMw4o8mnawc2hAtUf6f.P6VLb1

I can't login on a unix machine with the above hash. I try to gen the same thing using python and I get:

$ python -c 'import crypt; print crypt.crypt("asdf£", "$6$a7a5dc2fa314dda0")'
$6$a7a5dc2fa314dda0$E1GTcgT52oJFvhETaKwBk26Gy0GIzNQu2Mv4.UZwXp00CQi/8vC3IQKcrmpqbUaM2jFMOcDoShcxo1Mrt/Z5k/

If I take the £ out then the hashes are the same.

I've looked at the implementation and I can't see where the issue may lie.

npm install?

Hi.
You should gave the install repository for npm
I tried

npm install sha512crypt-node

But doesn't exists.

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.