aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'DistributedPasswordCracker.Client/Models')
-rw-r--r--DistributedPasswordCracker.Client/Models/UserInfo.cs38
-rw-r--r--DistributedPasswordCracker.Client/Models/UserInfoClearText.cs32
2 files changed, 70 insertions, 0 deletions
diff --git a/DistributedPasswordCracker.Client/Models/UserInfo.cs b/DistributedPasswordCracker.Client/Models/UserInfo.cs
new file mode 100644
index 0000000..d05d03e
--- /dev/null
+++ b/DistributedPasswordCracker.Client/Models/UserInfo.cs
@@ -0,0 +1,38 @@
+using System;
+
+namespace DistributedPasswordCracker.Client.Models
+{
+ /// <summary>
+ /// username + encrypted password.
+ /// In the password file we store username + encrypted password.
+ /// The encrypted password is a byte array (cannot be written to the password file)
+ /// This must be Base64 encoded (