public override byte[] DoFinal() { byte[] outBytes = bufOff > 0 ? cipher.ProcessBlock(buffer, 0, bufOff) : EmptyBuffer; Reset(); return outBytes; }