/// <summary>Computes the CRC32 value for the given ASCII string using the <see cref="DefaultPolynomial" />.</summary> public static int Compute(string asciiString) { _defaultCRC.Initialize(); return(ToInt32(_defaultCRC.ComputeHash(asciiString))); }
/// <summary>Computes the hash value for the input data using the <see cref="DefaultPolynomial" />.</summary> public static int Compute(byte[] buffer, int offset, int count) { DefaultCRC.Initialize(); return(ToInt32(DefaultCRC.ComputeHash(buffer, offset, count))); }
/// <summary>Computes the CRC32 value for the given ASCII string using the <see cref="DefaultPolynomial" />.</summary> public static Int32 Compute(String asciiString) { DefaultCRC.Initialize(); return(ToInt32(DefaultCRC.ComputeHash(asciiString))); }