Org.BouncyCastle.Crypto.Digests.LongDigest.Finish C# (CSharp) Method

Finish() public method

public Finish ( ) : void
return void
        public void Finish()
        {
            AdjustByteCounts();

            long    lowBitLength = byteCount1 << 3;
            long    hiBitLength = byteCount2;

            //
            // add the pad bytes.
            //
            Update((byte)128);

            while (xBufOff != 0)
            {
                Update((byte)0);
            }

            ProcessLength(lowBitLength, hiBitLength);

            ProcessBlock();
        }