示例#1
0
 /// <summary>
 /// Generates a random password and random salt for the new user
 /// </summary>
 public void GeneratePassword()
 {
     Password = AuthHandler.GenerateString(8);
     Salt     = AuthHandler.GenerateString(16);
 }