From 39ccb03de5eb760ba5ad1d89baed7cbab6c46dd6 Mon Sep 17 00:00:00 2001 From: Jonas Kamsker <11245306+JKamsker@users.noreply.github.com> Date: Sat, 5 Sep 2020 16:26:06 +0200 Subject: [PATCH] Fixed Typo --- OAuthConsoleApp/OAuthConsoleApp/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }