OpenPetra
Free Administration Software for Non-Profits
|
Interface which all Password Hashing Scheme implementations need to implement. More...
Public Member Functions | |
void | GetNewPasswordSaltAndHash (out string APassword, out string ASalt, out string APasswordHash) |
Generates a new secure random password. More... | |
byte[] | GetNewPasswordSalt () |
Generates a new password Salt. More... | |
string | GetPasswordHash (string APassword, byte[] ASalt) |
Generates a Password Hash using the Hash Algorithm which is provided through the password hashing methodology that is coded up in each Password Hashing Scheme implementation. More... | |
Interface which all Password Hashing Scheme implementations need to implement.
byte[] Ict.Common.IPasswordHashingScheme.GetNewPasswordSalt | ( | ) |
Generates a new password Salt.
Implemented in Ict.Common.TPasswordHashingScheme_V1.
void Ict.Common.IPasswordHashingScheme.GetNewPasswordSaltAndHash | ( | out string | APassword, |
out string | ASalt, | ||
out string | APasswordHash | ||
) |
Generates a new secure random password.
APassword | Secure random password. |
ASalt | The Salt that was used in the creation of the Password Hash. |
APasswordHash | Password Hash. |
Implemented in Ict.Common.TPasswordHashingScheme_V1.
string Ict.Common.IPasswordHashingScheme.GetPasswordHash | ( | string | APassword, |
byte[] | ASalt | ||
) |
Generates a Password Hash using the Hash Algorithm which is provided through the password hashing methodology that is coded up in each Password Hashing Scheme implementation.
Implemented in Ict.Common.TPasswordHashingScheme_V1.