You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For anyone that's interested, here's a way to generate the hashed password in JavaScript/Node:
var crypto = require('crypto');
var password = "testing123";
var length = 24;
var iterations = 1000;
var algorithm = "sha1";
var salt = crypto.randomBytes(length);
var hash = crypto.pbkdf2Sync(password, salt, iterations, length, algorithm);
var msf2password = iterations + ":" + salt.toString('base64') + ":" + hash.toString('base64');
Re https://github.com/alvyxaz/barebones-masterserver/wiki/MSF-Auth-Hashing-Algorithm-(PBKDF2)-for-PHP
As per https://github.com/defuse/password-hashing#hash-format the hash format is:
Whereas
MSFSecruity.ValidatePassword
andMsf.Client.Auth.Register
use the format:The text was updated successfully, but these errors were encountered: