Exemple #1
0
 /// <summary> Creates the hash from the given data and salt </summary>
 public PasswordHash(SecureString data)
     : this(true, SecureStringUtils.ToByteArray(data, Password.Encoding), new Salt())
 {
 }
Exemple #2
0
 /// <summary> Creates the password from the given data and salt </summary>
 public Password(SecureString data)
     : this(true, SecureStringUtils.ToByteArray(data, Password.Encoding))
 {
 }
Exemple #3
0
 /// <summary> Creates the hash from the given data and salt </summary>
 public PasswordHash(SecureString data, Salt salt)
     : this(true, SecureStringUtils.ToByteArray(data, Password.Encoding), salt)
 {
 }