node-multi-hashing
node-multi-hashing copied to clipboard
bcrypt is broken?
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>