mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-28 20:33:45 +03:00
Upgrade cryptg (#4486)
This commit is contained in:
parent
9b18304e9c
commit
fe733aad97
|
@ -27,7 +27,7 @@ dependencies = [
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
cryptg = ["cryptg~=0.4"]
|
cryptg = ["cryptg~=0.5"]
|
||||||
dev = [
|
dev = [
|
||||||
"mypy~=1.11.2",
|
"mypy~=1.11.2",
|
||||||
"ruff~=0.6.8",
|
"ruff~=0.6.8",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
try:
|
try:
|
||||||
import cryptg # type: ignore [import-untyped]
|
import cryptg
|
||||||
|
|
||||||
def ige_encrypt(
|
def ige_encrypt(
|
||||||
plaintext: bytes | bytearray | memoryview, key: bytes, iv: bytes
|
plaintext: bytes | bytearray | memoryview, key: bytes, iv: bytes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user