Skip to content

Releases: SychO3/tgcryptoX

v1.0.1

26 Mar 09:33
29e5736

Choose a tag to compare

Changes

  • Build wheels for Python 3.12, 3.13, and 3.14 (previously only 3.12)
  • Add support for manual workflow trigger (workflow_dispatch)
  • Update project metadata and description
  • Exclude .idea/ and .venv/ from git tracking

Notes

No functional changes to the crypto implementation. This release adds multi-version wheel builds so pip install TgCryptoX works without compiling from source on Python 3.13 and 3.14.

v1.0.0

26 Mar 09:24
a2e8767

Choose a tag to compare

TgCryptoX v1.0.0

Rust rewrite of TgCrypto — Fast and Portable Cryptography Extension Library for Pyrogram.

Features

  • AES-256-IGE, CTR, CBC encryption/decryption
  • Hardware AES acceleration (AES-NI on x86_64, ARMv8 on aarch64)
  • Constant-time software fallback on platforms without hardware AES
  • Drop-in replacement for TgCrypto (import tgcrypto)
  • Python 3.13 / 3.14 support

Improvements over TgCrypto (C)

  • Memory safety guaranteed by Rust's ownership system
  • Side-channel resistant (no T-table cache-timing attacks)
  • Simplified build with maturin (no C toolchain needed)
  • ~250 lines Rust vs ~900 lines C