namespace Yuanshen.Common.Extensions; public static class StringExtensions { public static uint GetStableHash(this string value) { uint hash = 0; foreach (char symbol in value) { hash = symbol + 131 * hash; } return hash; } }