From e9da2e440f3db86a77eb82203aff20e47f815276 Mon Sep 17 00:00:00 2001 From: Ray Koopa Date: Wed, 26 Dec 2018 01:37:58 +0100 Subject: [PATCH] Prepare encrypting password. --- src/Syroot.Worms/OnlineWorms/LaunchConfig.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Syroot.Worms/OnlineWorms/LaunchConfig.cs b/src/Syroot.Worms/OnlineWorms/LaunchConfig.cs index c49d232..8a41b99 100644 --- a/src/Syroot.Worms/OnlineWorms/LaunchConfig.cs +++ b/src/Syroot.Worms/OnlineWorms/LaunchConfig.cs @@ -51,6 +51,11 @@ namespace Syroot.Worms.OnlineWorms } } + /// + /// Gets or sets the initially entered password. This value is encrypted before being stored in the config. + /// + public string Password { get; set; } + // ---- METHODS (PUBLIC) --------------------------------------------------------------------------------------- /// @@ -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;