Esempio n. 1
0
 /// <summary>
 /// Creates salt based on user info.
 /// </summary>
 /// <param name="enterPassword">String password.</param>
 /// <returns>Salt based on user info.</returns>
 private byte[] CreateSalt(string enterPassword)
 {
     return(PasswordManager.CreateSalt(GUID + enterPassword));
 }
Esempio n. 2
0
 /// <summary>
 /// Creates salt based on user info.
 /// </summary>
 /// <param name="enterPassword">String password.</param>
 /// <returns>Salt based on user info.</returns>
 private byte[] CreateSalt(string enterPassword)
 {
     return(PasswordManager.CreateSalt(Age + Name + enterPassword + Address + Username));
 }