static private InitializeTable ( |
||
polynomial | ||
return | System.UInt32[] |
// Token: 0x060007DA RID: 2010 RVA: 0x0003945C File Offset: 0x0003765C public static uint Compute(uint polynomial, uint seed, byte[] buffer) { return(~Crc32.CalculateHash(Crc32.InitializeTable(polynomial), seed, buffer, 0, buffer.Length)); }
// Token: 0x060007D3 RID: 2003 RVA: 0x000393CC File Offset: 0x000375CC public Crc32(uint polynomial, uint seed) { this.table = Crc32.InitializeTable(polynomial); this.hash = seed; this.seed = seed; }