THE FORUM IS IN READ-ONLY MODE
This forum is in read-only mode. The new forum is live at https://discourse.openbullet.dev and registrations are open!
bcrypt hashing
-
I need to calculate the cks value from this script
var bcrypt = dcodeIO.bcrypt; var salt = bcrypt.genSaltSync(10); var cks = bcrypt.hashSync( usr+pass+dttm, salt );
The dttm value is obtained by parsing. How can this be done?
-
Bcrypt is not implemented yet.
-
any way to do it via javascript?
-
https://flaviocopes.com/javascript-bcrypt/
You probably have to copy all the library's code inside the config, I don't know if there is a way to reference existing js files. Otherwise i would say use an online bcrypt service like this https://bcrypt-generator.com/ sniff the request and remake it in OB
-
Yeah, already done it via https://www.dailycred.com/api/bcrypt-calc
I thought the internal method should be faster, although i'm not noticing the site has been banning my ip.