{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/10"},{"label":"Internet","url":"https://skillfed.io/packages/category/internet/3"},{"label":"Security","url":"https://skillfed.io/packages/category/security"},{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography"},{"label":"Communications","url":"https://skillfed.io/packages/category/communications"},{"label":"Chat","url":"https://skillfed.io/packages/category/communications-chat"}],"enrichment":{"capability":"TgCrypto provides fast C-based implementations of AES-256 encryption in IGE, CTR, and CBC modes, designed specifically for Telegram's MTProto protocol and related cryptographic needs.","skillfed_tags":["telegram-protocol","c-extension","abandoned"],"use_cases":["Encrypt and decrypt MTProto messages when building or extending Telegram client applications with Pyrogram.","Handle CDN file encryption/decryption for Telegram file transfers in custom Telegram integrations.","Implement Telegram Passport credential encryption for identity verification workflows in Telegram bots or clients.","Stream large encrypted payloads using CTR mode with stateful encryption state across multiple chunks."],"what_it_does":"TgCrypto is a C extension library that implements three AES-256 encryption modes required by Telegram's protocols: IGE (used in MTProto v2.0), CTR (used for CDN encrypted files), and CBC (used for encrypted passport credentials). It wraps low-level cryptographic operations in a minimal Python API of six functions\u2014three encrypt/decrypt pairs\u2014and is designed to be fast and portable across platforms.\n\nThe library is tightly coupled to Pyrogram, Telegram's Python client library, and is not a general-purpose cryptography tool. It has no runtime dependencies and installs via pre-built wheels for common platforms (Windows, macOS, Linux on x86 and ARM). However, the project is archived and abandoned: the last release was November 2022, and while the repository received a final commit in December 2024, no active maintenance or security updates should be expected.","worth_installing":"Yes, if you are actively developing with Pyrogram and need Telegram's specific cipher implementations. No, if you are seeking general-purpose AES encryption or an actively maintained cryptography library\u2014use a modern alternative like cryptography or PyCryptodome instead. The abandoned status means no security patches or Python version support beyond 3.11 should be expected."},"id":"tgcrypto","links":{"html":"https://skillfed.io/packages/tgcrypto","md":"https://skillfed.io/packages/tgcrypto.md","pypi":"https://pypi.org/project/tgcrypto/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-11-11","license_spdx":null,"license_treatment":"copyleft","name":"TgCrypto","python_support":"supports_current","summary":"Fast and Portable Cryptography Extension Library for Pyrogram"},"popularity":{"monthly_downloads":610433,"position":5766,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.5"}
