In this paper, an analysis study of two encryption algorithms applied to texts is carried out in order to evaluate their robustness in terms of security. The first is the classical cryptosystems known as, respectively, Advanced Encryption Standard (AES) and Data Encryption Standard (DES). The second comes from the study of chaotic systems by using the Tent map. Experimental results and their analysis show that chaotic encryption algorithm is more secure and high efficiency compared to classical algorithms. In addition, the chaotic system present a good encryption speed.