Пример #1
0
 /// <summary>
 /// Create a new pserver authentication object.  Populate the cvsroot, username
 ///     and password variables that will be sent to the server.  When the password
 ///     is populated it is encrypted with the password scrambler.
 /// </summary>
 /// <param name="cvsroot">A cvsroot line that locates the repository and
 ///     the server.</param>
 /// <param name="userName">The name of the user that is logging in.</param>
 /// <param name="password">A password for the user.</param>
 public PServerAuthRequest(string cvsroot, string userName, string password)
 {
     this.cvsroot  = cvsroot;
     this.userName = userName;
     this.password = password;
     this.password = PasswordScrambler.Scramble(this.password);
 }
Пример #2
0
 public override string SolvePart1()
 {
     return(scrambler.Scramble("abcdefgh"));
 }