Exemple #1
0
 public Encryptor(string protector)
 {
     _purposeString            = protector;
     _manualProtectionProvider = new ManualEncryptor(Encoding.UTF8.GetBytes(_purposeString));
 }
Exemple #2
0
 public Encryptor(string password, string salt)
 {
     _purposeString            = password;
     _manualProtectionProvider = new ManualEncryptor(Encoding.UTF8.GetBytes(salt));
 }
Exemple #3
0
 public Encryptor()
 {
     _purposeString            = "manual.encryption";
     _manualProtectionProvider = new ManualEncryptor(Encoding.UTF8.GetBytes(_purposeString));
 }