TgCryptoRust
Rust-powered AES-256 primitives and streaming modes for Telegram clients.
TgCryptoRust provides a compatible Python API for TgCrypto, implemented in Rust and packaged for Python through PyO3 and Maturin. It implements the cryptographic algorithms Telegram requires, namely:
AES-256-IGE— used in MTProto v2.0.AES-256-CTR— used for CDN encrypted files.AES-256-CBC— used for encrypted passport credentials.
Requirements
- Python 3.9 through 3.14
- Rust 1.89+ (only when building from source)
The release workflows build wheels for common desktop and server platforms. When no compatible published wheel is available, installation builds from source and requires Rust. Installing from a source checkout also requires Rust.
Installation
pip install TgCryptoRust
Or with uv:
uv add TgCryptoRust
uv sync
API
from typing import Union
CtrInput = Union[bytes, bytearray]
def ige256_encrypt(data: bytes, key: bytes, iv: bytes) -> bytes: ...
def ige256_decrypt(data: bytes, key: bytes, iv: bytes) -> bytes: ...
def ctr256_encrypt(data: CtrInput, key: CtrInput, iv: CtrInput, state: CtrInput) -> bytes: ...
def ctr256_decrypt(data: CtrInput, key: CtrInput, iv: CtrInput, state: CtrInput) -> bytes: ...
def cbc256_encrypt(data: bytes, key: bytes, iv: bytes) -> bytes: ...
def cbc256_decrypt(data: bytes, key: bytes, iv: bytes) -> bytes: ...
All keys are exactly 32 bytes. IGE uses a 32-byte IV; CTR and CBC use a
16-byte IV. CTR state is exactly one byte with a value from 0 through 15.
IGE/CBC input must be block aligned; the library does not add or remove padding.
Empty input is accepted. IGE/CBC functions and streaming methods accept immutable
bytes; CTR functions additionally accept bytearray as shown below.
Usage
IGE Mode
Note: Data must be padded to a multiple of the block size (16 bytes).
import os
import tgcrypto
data = os.urandom(1024)
key = os.urandom(32)
iv = os.urandom(32)
encrypted = tgcrypto.ige256_encrypt(data, key, iv)
decrypted = tgcrypto.ige256_decrypt(encrypted, key, iv)
assert decrypted == data
CTR Mode
CTR accepts arbitrary-length data. The state argument is a one-byte offset
inside the current keystream block, kept for TgCrypto compatibility.
import os
import tgcryptors
data = os.urandom(1000)
key = os.urandom(32)
iv = os.urandom(16)
state = b"\x00"
encrypted = tgcryptors.ctr256_encrypt(data, key, iv, state)
decrypted = tgcryptors.ctr256_decrypt(encrypted, key, iv, state)
assert decrypted == data
TgCrypto-compatible bytearray mode: data, key, iv, and state may also
be passed as bytearray. When iv or state are bytearray, they are
updated in place — after the call they hold the advanced counter and
residual offset, so passing the same objects to the next call continues the
stream across chunks. This is how pyrogram and its forks (kurigram, pyrofork,
...) drive the obfuscated TCP transports and CDN file downloads:
import os
import tgcrypto
key = os.urandom(32)
iv = bytearray(os.urandom(16))
state = bytearray(1)
data = os.urandom(1000)
first = tgcrypto.ctr256_encrypt(data[:100], key, iv, state) # iv/state advance in place
second = tgcrypto.ctr256_encrypt(data[100:], key, iv, state) # continues the stream
Passing plain bytes behaves as a stateless one-shot call.
CBC Mode
Note: Data must be padded to a multiple of the block size (16 bytes).
import os
import tgcrypto
data = os.urandom(1024)
key = os.urandom(32)
iv = os.urandom(16)
encrypted = tgcrypto.cbc256_encrypt(data, key, iv)
decrypted = tgcrypto.cbc256_decrypt(encrypted, key, iv)
assert decrypted == data
Streaming API
Use the streaming classes when processing one logical stream in chunks. The key schedule is expanded once and reused.
import os
import tgcryptors
key = os.urandom(32)
iv = os.urandom(16)
data = os.urandom(1024)
stream = tgcryptors.Ctr256(key, iv)
encrypted = stream.update(data[:300]) + stream.update(data[300:])
# Decryption starts with its own counter and byte offset.
decoder = tgcryptors.Ctr256(key, iv)
assert decoder.update(encrypted) == data
IGE streaming is also available for block-aligned chunks:
import os
import tgcrypto
key = os.urandom(32)
iv = os.urandom(32)
data = os.urandom(1024)
stream = tgcrypto.Ige256(key, iv)
encrypted = stream.encrypt(data[:512]) + stream.encrypt(data[512:])
decoder = tgcrypto.Ige256(key, iv)
assert decoder.decrypt(encrypted) == data
Use a separate object for each logical stream and direction. Reuse a stream's key schedule only for subsequent chunks of that stream; never reuse a CTR keystream for unrelated plaintext.
Runtime Metadata
import tgcryptors
print(tgcryptors.__version__)
print(tgcryptors.runtime_info())
Imports
Existing TgCrypto users can keep importing tgcrypto:
import tgcrypto
New code can import the branded module directly:
import tgcryptors
Both modules expose the same API.
Compatibility
The compatibility package preserves TgCrypto's six function names, argument
order, bytes return values, and mutable CTR carry semantics:
| Function | Arguments |
|---|---|
ige256_encrypt |
(data, key, iv) |
ige256_decrypt |
(data, key, iv) |
ctr256_encrypt |
(data, key, iv, state) |
ctr256_decrypt |
(data, key, iv, state) |
cbc256_encrypt |
(data, key, iv) |
cbc256_decrypt |
(data, key, iv) |
Ctr256, Ige256, and runtime_info extend that API. Compatibility tests cover
the documented inputs and state behavior; they do not establish complete
interoperability with every Telegram client or TDLib session. Both import names
ship the same native objects and type information.
Architecture
tgcryptors-core— Rust AES primitive and Telegram block modes (IGE, CTR, CBC).tgcryptors-python— PyO3 extension module exposing the native API.python/tgcrypto— Compatibility shim re-exportingtgcryptorsfor existing imports.tests/— Python unit tests covering the public API.
RustCrypto AES selects AES-NI on supported x86 CPUs and ARM AES instructions on
supported ARM CPUs at runtime. Other platforms use a constant-time fixsliced
software implementation, including during key expansion. Expanded keys are
zeroized on drop. runtime_info() reports the selected backend and whether
hardware acceleration is active.
See security and protocol boundaries before integrating these primitives. This package supplies AES modes, not a complete Telegram/TDLib client.
See the Python performance guide for choosing stream APIs and
avoiding copies. Both Python import names ship type hints (py.typed) while
continuing to call native functions directly.
Migrating to 2.0
The Python API and tgcrypto compatibility imports are retained. Minimum Rust is
now 1.89, required by the updated AES dependency. Rust callers must migrate from
raw schedules (ExpandedKey.words, set_encryption_key, set_decryption_key,
encrypt_block_soft, decrypt_block_soft, and the ExpandedKey Zeroize trait)
to ExpandedKey::new_encrypt / new_decrypt and the block or mode APIs. Key
schedules remain zeroized automatically when dropped.
The Cargo aesni and neon features remain accepted as compatibility flags;
hardware selection is automatic even with --no-default-features. To exercise
the software implementation explicitly:
RUSTFLAGS='--cfg aes_backend="soft"' cargo test -p tgcryptors-core --release --locked
runtime_info()["aesni"] now reflects active x86 hardware acceleration rather
than a compile-time feature. The new hardware_accelerated and backend keys
also cover ARM and forced software builds. Mutable CTR data and IV/state buffers
remain exported through processing and state write-back: resizing those buffers
concurrently raises BufferError. The key is snapshotted immediately and does
not need an export afterward. Synchronize callers sharing mutable IV/state.
Migrating From TgrCrypto
TgrCrypto is deprecated in favor of TgCryptoRust.
pip uninstall TgrCrypto
pip install TgCryptoRust
Existing code that imports tgcrypto can remain unchanged.
Development
# Set up environment
uv sync --frozen --python 3.14
# Build and install the native module
uv run --with "maturin[patchelf]==1.16.0" maturin develop --release --locked
# Run Python tests
.venv/bin/python -m unittest discover -s tests -v
The Python suite currently contains 27 tests covering the API, streaming, mutable buffers, validation, package exports, and performance-sensitive paths.
Run the Rust checks:
cargo fmt --all -- --check
cargo clippy --locked --all-targets --all-features -- -D warnings
cargo test -p tgcryptors-core --release --locked
Build a wheel:
uv build --wheel
Changelog
2.0.0
- Ship precise Python type hints for both import names without runtime wrappers.
- Remove small CTR key/IV/state heap snapshots and share the IGE encryption/ decryption schedule; retain mutable state exports and key zeroization.
- Update PyO3 to 0.30.1, RustCrypto AES to 0.9.3, zeroize to 1.9.1, Maturin minimum to 1.16.0, and refresh transitive dependencies and CI actions.
- Replace secret-indexed AES tables and key expansion with hardware AES or constant-time software AES; keep backend schedules private and zeroize on drop.
- Pin mutable Python buffers during native calls, use PyO3's safe bytes allocator, and zeroize owned temporary key/mutable-input copies.
- Avoid GIL release overhead for inputs smaller than 16 KiB; add representative transport-size and preexpanded-key benchmarks.
- Add independent NIST/OpenSSL vectors, CTR counter/chunk boundary tests, and Python concurrency/ownership regression coverage; test software AES in CI.
See the release notes for release details and the validation review for the scope of the checks.
1.3.1
ctr256_encrypt/ctr256_decryptnow acceptbytearray(andbytes) fordata,key,iv, andstate. Whenivorstateare passed asbytearray, the advanced counter and residual byte offset are written back in place, matching TgCrypto's stateful semantics. This fixes a crash at connect time with pyrogram and its forks, whose obfuscated TCP transports and CDN downloads passbytearrayand rely on the in-place carry (issue #4).
1.3.0
- Bumped MSRV from Rust 1.83 to 1.86.
- Replaced manual key zeroization with the
zeroizecrate for guaranteed compiler-resistant memory clearing. - Removed deprecated
generate-import-libfeature (no-op since PyO3 0.29). - Added CI job to verify MSRV compliance.
- Fixed clippy warnings and imprecise documentation comments.
- Changed license from LGPLv3+ to MIT.
License
MIT — Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software.
© 2026-Present Joy.
Metadata
Release files for TgCryptoRust 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tgcryptorust-2.0.0.tar.gz | 33.1 kB | With provenance | Details for tgcryptorust-2.0.0.tar.gz |
Built distributions (wheels)
Total release size: 7.9 MB
Release files / tgcryptorust-2.0.0.tar.gz
| Download URL | tgcryptorust-2.0.0.tar.gz |
|---|---|
| Size | 33.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45a5a3f0e03a7db596b98c5e355ca83f34c0149e2139333dbf8d5e6efcedcd78
|
|
BLAKE2b-256 checksum How to use checksums |
a04dad6e79e082cae243e50145adc16c1e94996b1d3284947eaefcafcf7b83b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp314-cp314-win_amd64.whl
| Download URL | tgcryptorust-2.0.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 202.9 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
69b5190918ba51455443c2796be40868f10c3a753baf116374297351b81368fa
|
|
BLAKE2b-256 checksum How to use checksums |
db84b4520ef99df7a19767a8d94618b92f9ea41723ab6717b8f167acf31a9af8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | tgcryptorust-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 290.9 kB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7d803372b2a722c0764c93d6c1e1382d02ecef1b8326fe8a5ed95f6fbec5fc18
|
|
BLAKE2b-256 checksum How to use checksums |
e5a6e4737cd65b3f08641223cd13c2c4dd5bb7058d75330704f90edefd92ada7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.whl
| Download URL | tgcryptorust-2.0.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.whl |
|---|---|
| Size | 291.1 kB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARMv7l |
|
SHA-256 checksum How to use checksums |
6a7980d6088de95fcb255a46ba25777398a2d209aac9017f07f17f395b0233f2
|
|
BLAKE2b-256 checksum How to use checksums |
8923dd0efe675378b085ef6999950209c5dbd26e7ed45ff5fb0db0455dd7eae8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | tgcryptorust-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 278.1 kB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
565a857d365906874645a871f744b8837067e13bd33d2303e6734a290aa599d8
|
|
BLAKE2b-256 checksum How to use checksums |
ba8188b99b3b7aea81252816898e22e4ea88a88d3e4cda38c1786b5fa9d4421a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | tgcryptorust-2.0.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 250.1 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ed32d3dc1630a9dfcd2f85540844af32c5e633936199411f58ca16b08817dc5d
|
|
BLAKE2b-256 checksum How to use checksums |
2f0354d242ffcb3a3aa1e40286da738ee85aed48492d2da524a98fb88878f6ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp313-cp313-win_amd64.whl
| Download URL | tgcryptorust-2.0.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 203.0 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7da64f213dd28764c959a561986469fa0953986ce315eed6b7e143adadd60248
|
|
BLAKE2b-256 checksum How to use checksums |
368aedcabf6809c43c05231f839614bfd538a1a81cc74dece2b6afb33b226aa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | tgcryptorust-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 290.7 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9b6da256884262deddd036f678faca53728e7cb93acafeaf197dd5251816d3b6
|
|
BLAKE2b-256 checksum How to use checksums |
c60583e959089684baca439b4febdbbfc6c6ca60ce1b24419ed02cb54d490128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.whl
| Download URL | tgcryptorust-2.0.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.whl |
|---|---|
| Size | 290.7 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARMv7l |
|
SHA-256 checksum How to use checksums |
ecc6bafd3678ef56eb04507d348e5e4eb2edafb45299aaa0b41127c5926fb40c
|
|
BLAKE2b-256 checksum How to use checksums |
b63c893f8d1749659b7469b9c69f02d8941816ff563c7488d40eeef77f2550d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | tgcryptorust-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 277.9 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
3cb6ff76ef53e5777cc77800558224ac53587518a0a5d463f857d763530cf0ba
|
|
BLAKE2b-256 checksum How to use checksums |
e2bb99a1af77a1f41af15c9e373f4b5cc4cb96f8d5315ddd9a316f33829cfcc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | tgcryptorust-2.0.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 250.1 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
31c8eaf5f03c349d9092787ed746c5740570c067c8cd905302f03983a74193f4
|
|
BLAKE2b-256 checksum How to use checksums |
471340f5905cdc2abb040230ff7dcafdd39c673f4fbf3ec7beb4465e952156ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp312-cp312-win_amd64.whl
| Download URL | tgcryptorust-2.0.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 202.7 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3c9c2fab61ed8f14ebf9acf822f354e4558902b050b34d746ce1fc633bf51a74
|
|
BLAKE2b-256 checksum How to use checksums |
613e29c68d7e540c411b73d8acb5d32e9028c99387106191cae3ff6dd0a2bc4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | tgcryptorust-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 290.2 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fac648bd99dd92f58ac60a85f6a44268fe45a117cca3dea784516c3abc459b24
|
|
BLAKE2b-256 checksum How to use checksums |
6dc7602b24283511b5ff119ab6c013377493e183691eee1e101540b8e9c9e1de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.whl
| Download URL | tgcryptorust-2.0.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.whl |
|---|---|
| Size | 290.6 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARMv7l |
|
SHA-256 checksum How to use checksums |
db2fddfe1fdb8ac52249b03f8c4753cad60e01b50d73753afdb99dd224b3f22b
|
|
BLAKE2b-256 checksum How to use checksums |
f8808e28c4323727c0c618f1b247ab093f40dda015779d51a2a11f4fe716775c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | tgcryptorust-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 277.3 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
4e7f83c9b7badb7ae7696c6320fb667ebde9c6e6a7434450e4fbd48e52ed33ed
|
|
BLAKE2b-256 checksum How to use checksums |
8f68c0cf3dce7bfac35cd321e03c356bfa5d620a916f7cadc13ca6bdde28b9a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | tgcryptorust-2.0.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 249.7 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9732eada2c2047832ca9cc27c831ed30c3fd4b84f0453f6221cf7ec919473d90
|
|
BLAKE2b-256 checksum How to use checksums |
950e917899825bce4c7dc6d077fb1863ba3686d3621ab3676bbd372bedd27575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp311-cp311-win_amd64.whl
| Download URL | tgcryptorust-2.0.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 205.3 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2d643ab980a592d3157e6bb2cfc20ecdc0eee7b640b6a6ff5f18d37991cd5b8c
|
|
BLAKE2b-256 checksum How to use checksums |
5a45be012478cb0954288e0d578a86579551a3b358b24aed525881753ed7fea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | tgcryptorust-2.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 291.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8e3a96360bbe424f39eba2d9a1e70736221561b919533f2ab570da3d856d5a88
|
|
BLAKE2b-256 checksum How to use checksums |
609844c1550ec72ddb729cfcc2583aa3e4cc2261bb3b0019be00af302a7faf81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.whl
| Download URL | tgcryptorust-2.0.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.whl |
|---|---|
| Size | 291.8 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARMv7l |
|
SHA-256 checksum How to use checksums |
98a0dc74165cf2ae982e8eb781972059e4ccf85a1de40d143efecf742fdd3d5d
|
|
BLAKE2b-256 checksum How to use checksums |
f5eb3ba4eecfd4e9b909249a13470106ef8577825f30a1f6f16aa960df7b035f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | tgcryptorust-2.0.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 278.6 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
3329d57a1a54c74c83180ef1c4e198e31824b67fe276892c4284744d6440ef12
|
|
BLAKE2b-256 checksum How to use checksums |
ec8296e4d3fdc8d35a7aa96cd4f25c906af46c9079569382bcc1e0cfa22974e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | tgcryptorust-2.0.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 250.9 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3955b56c6f0f8e0ea9723c2572e9f9f43c4dfd2c26176251ea2c5424f29e6294
|
|
BLAKE2b-256 checksum How to use checksums |
b660309230d6f38abbf684e71eba81a21619b37aecadb5a809e6a89654859570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp310-cp310-win_amd64.whl
| Download URL | tgcryptorust-2.0.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 205.6 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5807ba73dcc769abee5301ad69d27bd6ec6fd49c0f01851aa2ff7e8aa3ff265e
|
|
BLAKE2b-256 checksum How to use checksums |
7baf4a230dee4d835f0d1a9fe79ce0211c36260aaee0e8502e5fb6ed75584cdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | tgcryptorust-2.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 291.2 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
88e6790dd3394c10b7f256fd58faba69020465d742fe17842155fa342e640082
|
|
BLAKE2b-256 checksum How to use checksums |
b528b64cd6cb088f7720237ff46b7780a33c6276b765a9cb88f87a5cee2f81f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.whl
| Download URL | tgcryptorust-2.0.0-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.whl |
|---|---|
| Size | 292.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARMv7l |
|
SHA-256 checksum How to use checksums |
0e3355cb41d2d3c247936b4c662bd47a91d9c349c355b275c8a05123564dcbfa
|
|
BLAKE2b-256 checksum How to use checksums |
bc2eff350e3c1acd9494c1bda925dd88f0e4cc44b64d3f6f07273765bbe0610f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | tgcryptorust-2.0.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 278.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
3d9030206b9de9d29b8b584aee84eed26342294a779343d191aba8262442e616
|
|
BLAKE2b-256 checksum How to use checksums |
8c2f1c80d312f6c1ecbb3976d4be80055e9d21e8022d6e75e37e899393fb0a35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | tgcryptorust-2.0.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 251.0 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8dd168df8dccaecda131fe51ad6f9195bd743edc4b9b9a1d1cf01a28249ae2c5
|
|
BLAKE2b-256 checksum How to use checksums |
b487ce0f792e1aa2209170644b75e2b7ea031e9c3273e5326ac201f52a8ec542
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp39-cp39-win_amd64.whl
| Download URL | tgcryptorust-2.0.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 208.0 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f1b5bfca2610064aa2b560538b890c303ca6be8e3e7c61134e6112649f1e5d37
|
|
BLAKE2b-256 checksum How to use checksums |
63bb9e8b02e9d1f8a1573914fc8eda45e80a40c78f6c8a2a93ec6e685ea2f7ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | tgcryptorust-2.0.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 293.1 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ed49cdd4a1867b14f2ac850e56a92d3474724a8fd4c1154fe0d19b1dee8d4d07
|
|
BLAKE2b-256 checksum How to use checksums |
1d16b4605f34c0807cf70f3df6ddc70b713e6594af4fa9cf130310bd10a6629a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp39-cp39-manylinux2014_armv7l.manylinux_2_17_armv7l.whl
| Download URL | tgcryptorust-2.0.0-cp39-cp39-manylinux2014_armv7l.manylinux_2_17_armv7l.whl |
|---|---|
| Size | 293.7 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARMv7l |
|
SHA-256 checksum How to use checksums |
1d6ce19a74ed13b9f35f87c6dfdb323a97990952f543f9fed32b87d07f2a4641
|
|
BLAKE2b-256 checksum How to use checksums |
902e963aceeb049a979552b13cc54017d7bbaea6a7b6df83f7a1981af02895ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | tgcryptorust-2.0.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 280.3 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
bea1d48425ba3e06acf1011b96c4f9a9078d5a2c378228c7194e39f8ab150b50
|
|
BLAKE2b-256 checksum How to use checksums |
9746d451bbaccc8fd951f2de15379befa2096f4f46017f8ee03061baca33c13e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / tgcryptorust-2.0.0-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | tgcryptorust-2.0.0-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 252.4 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
da05e81ff1f73fe7fee09d1c8ec8c49e6fc0052592c61c2d8970ce20c0767de9
|
|
BLAKE2b-256 checksum How to use checksums |
6473677b54eeb49f4d7c0bf6e8757506b94599a73c0719ae7a86623636c736a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logSecurity for TgCryptoRust 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 31 files in this release have been uploaded with provenance metadata.
Attestation for tgcryptorust-2.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.