#telegram #encryption #tl

grammers-crypto

Several cryptographic utilities to work with Telegram's data

10 releases (breaking)

Uses new Rust 2024

0.8.0 Oct 31, 2025
0.7.0 Sep 17, 2024
0.6.1 May 3, 2024
0.6.0 Feb 10, 2024
0.1.0 Jan 31, 2020

#242 in Cryptography

Download history 414/week @ 2025-09-19 538/week @ 2025-09-26 440/week @ 2025-10-03 665/week @ 2025-10-10 1703/week @ 2025-10-17 1204/week @ 2025-10-24 1204/week @ 2025-10-31 848/week @ 2025-11-07 470/week @ 2025-11-14 513/week @ 2025-11-21 593/week @ 2025-11-28 442/week @ 2025-12-05 408/week @ 2025-12-12 540/week @ 2025-12-19 584/week @ 2025-12-26 774/week @ 2026-01-02

2,339 downloads per month
Used in 8 crates (4 directly)

MIT/Apache

64KB
1K SLoC

This library contains a collection of functions that relate to encrypting and decryption values when exchanging messages with Telegram.


grammers-crypto

This library contains several methods to encrypt and decrypt data going to and coming from Telegram. In particular, it offers an interface around the AES-IGE mode.

Dependencies

~3MB
~56K SLoC