Пример #1
0
 public RandomStrongPassword()
     : base(Encrypt.CreateRandomStrongPassword(ro_RandomStrongPasswordLength), Encrypt.CreateRandomSalt())
 {
 }
Пример #2
0
 public Password()
 {
     m_ClearPassword  = Encrypt.CreateRandomStrongPassword(8);
     m_Salt           = Encrypt.CreateRandomSalt();
     m_SaltedPassword = Encrypt.ComputeSaltedHash(m_Salt, m_ClearPassword);
 }