 				{
 					logger.debug("Decrypting " + tmpBuffer.length + " bytes of encrypted data.");
 				}
-				
-				//key.usePadding = false;
 				
 				if ( leftoverBytes > 0 )
 				{

				logger.debug("READING " + amountToRead + " OF " + input.bytesAvailable);
			}

			if (_lastSixteenBytes.length > 0)
			{
				_lastSixteenBytes.readBytes(tmpBuffer)
				_lastSixteenBytes.length = 0;
				_lastSixteenBytes.position = 0;
			}

			if(amountToRead > 0)
				input.readBytes( tmpBuffer, tmpBuffer.length, amountToRead);

			if (!_flush)
			{
				tmpBuffer.position = tmpBuffer.length - 16;

			}
			else
			{
			//If we are flushing, reset the ByteArray so no leftover data is around for the first pass on the next segment
				_lastSixteenBytes.length = 0;
				_lastSixteenBytes.position = 0;
			}
