Contains various cryptographic functions.
string GetSecureString()
Generates a 40-length secure ascii string.
bool CheckUserPassword(User user, string password)
Checks a given password matches a given user 's User.PasswordHash. This may result in User....
void SetUserPassword(User user, string newPassword, bool newUser)
Sets a User.PasswordHash for a given user .
byte[] GetSecureBytes(uint amount)
Generates a secure set of bytes.