You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixeszeromq#1080
The previous code used String.GetHashCode, however in .NET 5 and later
this value is not stable across process runs. The value intentionally
varies due to "hash randomization", a security feature.
In this case, we need a stable value, and we need the same value
irrespective of the version of .NET or the platform.
To ensure compatibility, we take the algorithm from .NET Framework.
/// Gets a hash value from a string. This hash is stable across process invocations (doesn't use hash randomization) and across different .NET versions and platforms.
15
+
/// </summary>
16
+
/// <remarks>
17
+
/// The original code was taken from <c>string.GetHashCode()</c> with some minor changes
0 commit comments