public void Finish() { long bitLength = (byteCount << 3); // // add the pad bytes. // Update(128); while (xBufOff != 0) Update(0); ProcessLength(bitLength); ProcessBlock(); }