InitializeTable() static private method

static private InitializeTable ( UInt32 polynomial ) : System.UInt32[]
polynomial System.UInt32
return System.UInt32[]
Ejemplo n.º 1
0
 // 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));
 }
Ejemplo n.º 2
0
 // 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;
 }