/// <summary> /// Computes CRC32 for string /// </summary> public static uint ForEncodedString(string text, System.Text.Encoding encoding) { if (encoding == null) { encoding = System.Text.Encoding.UTF8; } var buff = encoding.GetBytes(text); return(CRC32.ForBytes(buff)); }