There was an error while loading. Please reload this page.
2 parents c6e7a38 + 775c4bd commit bc4b390Copy full SHA for bc4b390
1 file changed
src/Particular.LicensingComponent.Report/Utility/OneWayHasher.cs
@@ -9,8 +9,8 @@
9
public static class OneWayHasher
10
{
11
/// <summary>
12
- /// Calculates the SHA3-256 hash of the specified input string and returns the result as a hexadecimal string.
+ /// Calculates the SHA256 hash of the specified input string and returns the result as a hexadecimal string.
13
/// </summary>
14
public static string CalculateOneWayHash(string input)
15
- => BitConverter.ToString(SHA3_256.HashData(Encoding.UTF8.GetBytes(input))).Replace("-", "");
16
-}
+ => BitConverter.ToString(SHA256.HashData(Encoding.UTF8.GetBytes(input))).Replace("-", "");
+}
0 commit comments