diff --git a/OAuthConsoleApp/OAuthConsoleApp/Program.cs b/OAuthConsoleApp/OAuthConsoleApp/Program.cs index dc1c5b6..81b61bc 100644 --- a/OAuthConsoleApp/OAuthConsoleApp/Program.cs +++ b/OAuthConsoleApp/OAuthConsoleApp/Program.cs @@ -250,11 +250,11 @@ public static string randomDataBase64url(uint length) /// /// Returns the SHA256 hash of the input string. /// - /// + /// /// - public static byte[] sha256(string inputStirng) + public static byte[] sha256(string inputString) { - byte[] bytes = Encoding.ASCII.GetBytes(inputStirng); + byte[] bytes = Encoding.ASCII.GetBytes(inputString); SHA256Managed sha256 = new SHA256Managed(); return sha256.ComputeHash(bytes); }