HelloWorld.JsonUserService.EncryptPassword C# (CSharp) Method

EncryptPassword() private static method

private static EncryptPassword ( string password ) : string
password string
return string
        private static string EncryptPassword( string password )
        {
            return Convert.ToBase64String( hash.ComputeHash( Encoding.UTF8.GetBytes( password + salt ) ) );
        }