Add stubs for TgCrypto (#12469)

This commit is contained in:
Radik Islamov authored and GitHub committed 2024-08-01 16:52:17 +02:00
1 parent daefde073d
commit 17af88919f
3 files changed
+17

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
from typing_extensions import Buffer
def ige256_encrypt(data: Buffer, key: Buffer, iv: Buffer, /) -> bytes: ...
def ige256_decrypt(data: Buffer, key: Buffer, iv: Buffer, /) -> bytes: ...
def ctr256_encrypt(data: Buffer, key: Buffer, iv: Buffer, state: Buffer, /) -> bytes: ...
def ctr256_decrypt(data: Buffer, key: Buffer, iv: Buffer, state: Buffer, /) -> bytes: ...
def cbc256_encrypt(data: Buffer, key: Buffer, iv: Buffer, /) -> bytes: ...
def cbc256_decrypt(data: Buffer, key: Buffer, iv: Buffer, /) -> bytes: ...