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

bcrypt is broken? #25

Open
sunny-prince opened this issue Jul 11, 2014 · 0 comments
Open

bcrypt is broken? #25

sunny-prince opened this issue Jul 11, 2014 · 0 comments

Comments

@sunny-prince
Copy link

I am testing the code and bcrypt gives me a different answer each time:

sunny@sunny:/mnt/shared_tor/test$ cat test2.js
var multiHashing = require('multi-hashing');
var data = new Buffer("7000000001e980924e4e1109230383e66d62945ff8e749903bea4336755c00000000000051928aff1b4d72416173a8c3948159a09a73ac3bb556aa6bfbcad1a85da7f4c1d13350531e24031b939b9e2b", "hex");
console.log(multiHashing.bcrypt(data));
sunny@sunny:/mnt/shared_tor/test$ node test2.js 
<SlowBuffer 3c 7c 3f c8 dc 5a 0c f6 b3 a1 54 e1 8e ac c9 ee d8 32 82 33 52 bd 89 50 da cd 24 34 fe 96 1e f5>
sunny@sunny:/mnt/shared_tor/test$ node test2.js 
<SlowBuffer 3c 7c 3f c8 dc 5a 0c f6 b3 a1 54 e1 8e ac c9 ee 4b 5a a8 8b 78 40 7b ec b7 70 38 53 e0 3a 75 09>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant