Summarize conversation history.

Summarize the current conversation to provide context while retaining essential information. Ensure the data is secured through encryption and optimize it to minimize token costs for LLMs.