The rapid expansion of textual data in cloud environments presents significant challenges for managing large-scale storage systems. Data deduplication has become a valuable strategy for reducing storage requirements, but it also introduces security concerns. This paper presents a deduplication method specifically designed for textual data, utilizing a client-side approach to achieve high compression rates while ensuring data security. Our method is designed to resist side-channel attacks, enhancing overall security. Through experimental evaluations, we demonstrate how this approach significantly reduces storage demands while maintaining data confidentiality. This efficiency can lead to substantial cost savings and improved performance in large-scale data management systems.