From 6369f4c3d1c23b0f0ec9165c242b578cb61cc0f5 Mon Sep 17 00:00:00 2001 From: wulan17 Date: Thu, 21 Mar 2024 14:31:39 +0700 Subject: [PATCH] Pyrofork: Use own fork of tgcrypto (#56) Signed-off-by: wulan17 --- docs/source/topics/speedups.rst | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/topics/speedups.rst b/docs/source/topics/speedups.rst index 3767e0559..cb77acacd 100644 --- a/docs/source/topics/speedups.rst +++ b/docs/source/topics/speedups.rst @@ -10,10 +10,10 @@ Pyrofork's speed can be boosted up by using TgCrypto and uvloop. ----- -TgCrypto +TgCrypto-pyrofork -------- -TgCrypto_ is a high-performance, easy-to-install cryptography library specifically written in C for Pyrofork as a Python +TgCrypto-pyrofork_ is a high-performance, easy-to-install cryptography library specifically written in C for Pyrofork as a Python extension. It is a replacement for a slower Python-only alternative and implements the cryptographic algorithms Telegram requires, namely: AES-256-IGE, AES-256-CTR and AES-256-CBC. diff --git a/pyproject.toml b/pyproject.toml index ceabe292d..2354ad3f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,7 @@ docs = [ ] speedup = [ - "tgcrypto>=1.2.5", + "tgcrypto-pyrofork>=1.2.6", "uvloop>=0.19.0" ]