File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
- using System . Text . RegularExpressions ;
1
+ using System ;
2
+ using System . Text . RegularExpressions ;
2
3
3
4
namespace Advanced_PassGen . Classes
4
5
{
5
6
public class Password
6
7
{
8
+ #region Variables
9
+
7
10
private string _actualPassword ;
8
11
12
+ #endregion
13
+
14
+ /// <summary>
15
+ /// The actual password in plain text.
16
+ /// </summary>
9
17
public string ActualPassword
10
18
{
11
19
get { return _actualPassword ; }
@@ -17,12 +25,18 @@ public string ActualPassword
17
25
}
18
26
}
19
27
28
+ /// <summary>
29
+ /// The length of the password.
30
+ /// </summary>
20
31
public int Length { get ; private set ; }
21
32
33
+ /// <summary>
34
+ /// The strength of a password, indicated by a number ranging from 0 to 5. The higher the score, the stronger the password.
35
+ /// </summary>
22
36
public int Strength { get ; private set ; }
23
37
24
38
/// <summary>
25
- /// Check how a strong a password is. The higher the score, the safer the password.
39
+ /// Check how a strong a password is. The higher the score, the stronger the password.
26
40
/// </summary>
27
41
/// <param name="password">The password that needs to be evaluated.</param>
28
42
/// <returns>Returns a password score.</returns>
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ internal class PasswordGenerator
18
18
private readonly int _maxLength ;
19
19
private readonly int _amount ;
20
20
private readonly int _seed ;
21
-
22
21
private readonly string _charSet ;
23
22
24
23
internal List < Password > PasswordList ;
You can’t perform that action at this time.
0 commit comments