hashPassword algorithm improved

main
Inga 🏳‍🌈 15 years ago
parent e967e5b9a6
commit 386d36de0b
  1. 2
      Common/dataobjects/Account.cs

@ -125,7 +125,7 @@ namespace FLocal.Common.dataobjects {
}
private string hashPassword(string password) {
return Util.md5(password + " " + Config.instance.SaltMigration + " " + this.id);
return Util.md5(Util.md5(password) + " " + Util.md5(Config.instance.SaltMigration) + " " + Util.md5(this.id.ToString()));
}
public bool checkPassword(string password) {

Loading…
Cancel
Save