private static string HashPassword(string input) {
return SHA.ComputeSHA256Hash(input);
public static void Main() {
string myPassword = "ChapterB-2100001test testscb10https://localhost:7211/ChapterB/ChapterBPaymentCallbackqr0123456789cb9b3c84154ae02f42b37461e484651241b0b9d6";
string hashedSavedPassword = HashPassword(myPassword);
Console.WriteLine("hashVal : {0}", hashedSavedPassword);