GSF.Security.SecurityProviderUtility.EncryptPassword C# (CSharp) Method

EncryptPassword() public static method

Encrypts the password to a one-way hash using the SHA1 hash algorithm.
public static EncryptPassword ( string password ) : string
password string Password to be encrypted.
return string
        public static string EncryptPassword(string password)
        {
            return Cipher.GetPasswordHash(password);
        }