static private CalculateHash ( |
||
table | ||
seed | ||
buffer | IList |
|
start | int | |
size | int | |
return |
// 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: 0x060007D5 RID: 2005 RVA: 0x00039410 File Offset: 0x00037610 protected override void HashCore(byte[] array, int ibStart, int cbSize) { this.hash = Crc32.CalculateHash(this.table, this.hash, array, ibStart, cbSize); }