Prepare encrypting password.

This commit is contained in:
Ray Koopa 2018-12-26 01:37:58 +01:00
parent c5db3266d3
commit e9da2e440f

View File

@ -51,6 +51,11 @@ namespace Syroot.Worms.OnlineWorms
}
}
/// <summary>
/// Gets or sets the initially entered password. This value is encrypted before being stored in the config.
/// </summary>
public string Password { get; set; }
// ---- METHODS (PUBLIC) ---------------------------------------------------------------------------------------
/// <summary>
@ -68,6 +73,7 @@ namespace Syroot.Worms.OnlineWorms
stream.Write("Online Worms Config File");
stream.Position = 36;
// TODO: Encrypt password and pass appropriate key as ";encryptedData;key".
stream.Write(";Unknown;0");
stream.Position = 66;