Exemplo n.º 1
0
 protected override byte[] HashFinal()
 {
     byte[] numArray = Crc32.a22(~this.d);
     this.HashValue = numArray;
     return(numArray);
 }
Exemplo n.º 2
0
 public static uint Compute(uint polynomial, uint seed, byte[] buffer)
 {
     return(~Crc32.a22(Crc32.b_m_c(polynomial), seed, (IList <byte>)buffer, 0, buffer.Length));
 }
Exemplo n.º 3
0
 protected override void HashCore(byte[] buffer, int start, int length)
 {
     this.d = Crc32.a22(this.c, this.d, (IList <byte>)buffer, start, length);
 }