Skip to content

Commit 81ed1cf

Browse files
committed
Fix token hash hex being upper
1 parent b4a4e7c commit 81ed1cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/Utils/HashingUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ public static string HashSha256(string str)
1414
{
1515
Span<byte> tempSpan = stackalloc byte[32];
1616
SHA256.HashData(Encoding.UTF8.GetBytes(str), tempSpan);
17-
return Convert.ToHexString(tempSpan);
17+
return Convert.ToHexString(tempSpan).ToLowerInvariant();
1818
}
1919
}

0 commit comments

Comments
 (0)