Every single bit of data is treated the same way in the process, which means that text, files, and media alike are encrypted equally. Telegram encryption is based on 2048-bit RSA encryption, 256-bit symmetric AES encryption, and secure key exchange using Diffie-Hellman.