Beispiel #1
0
 // Token: 0x0600085E RID: 2142 RVA: 0x00039436 File Offset: 0x00037636
 public static uint Compute(uint polynomial, uint seed, byte[] buffer)
 {
     return(~Class_221.CalculateHash(Class_221.InitializeTable(polynomial), seed, buffer, 0, buffer.Length));
 }
Beispiel #2
0
 // Token: 0x0600085D RID: 2141 RVA: 0x00039428 File Offset: 0x00037628
 public static uint Compute(uint seed, byte[] buffer)
 {
     return(Class_221.Compute(3988292384U, seed, buffer));
 }
Beispiel #3
0
 // Token: 0x0600085C RID: 2140 RVA: 0x0003941F File Offset: 0x0003761F
 public static uint Compute(byte[] buffer)
 {
     return(Class_221.Compute(uint.MaxValue, buffer));
 }
Beispiel #4
0
 // Token: 0x0600085A RID: 2138 RVA: 0x0003940D File Offset: 0x0003760D
 protected override byte[] HashFinal()
 {
     return(Class_221.UInt32ToBigEndianBytes(~this.hash));
 }
Beispiel #5
0
 // Token: 0x06000859 RID: 2137 RVA: 0x000393F1 File Offset: 0x000375F1
 protected override void HashCore(byte[] array, int ibStart, int cbSize)
 {
     this.hash = Class_221.CalculateHash(this.table, this.hash, array, ibStart, cbSize);
 }
Beispiel #6
0
 // Token: 0x06000857 RID: 2135 RVA: 0x000393B4 File Offset: 0x000375B4
 public Class_221(uint polynomial, uint seed)
 {
     this.table = Class_221.InitializeTable(polynomial);
     this.hash  = seed;
     this.seed  = seed;
 }