mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Add py.typed marker (#4477)
This commit is contained in:

committed by
GitHub

parent
86d41e1f06
commit
61642c04a5
@@ -3,14 +3,14 @@ try:
|
||||
|
||||
def ige_encrypt(
|
||||
plaintext: bytes | bytearray | memoryview, key: bytes, iv: bytes
|
||||
) -> bytes: # noqa: F811
|
||||
) -> bytes:
|
||||
return cryptg.encrypt_ige(
|
||||
bytes(plaintext) if not isinstance(plaintext, bytes) else plaintext, key, iv
|
||||
)
|
||||
|
||||
def ige_decrypt(
|
||||
ciphertext: bytes | bytearray | memoryview, key: bytes, iv: bytes
|
||||
) -> bytes: # noqa: F811
|
||||
) -> bytes:
|
||||
return cryptg.decrypt_ige(
|
||||
bytes(ciphertext) if not isinstance(ciphertext, bytes) else ciphertext,
|
||||
key,
|
||||
|
0
client/src/telethon/py.typed
Normal file
0
client/src/telethon/py.typed
Normal file
Reference in New Issue
Block a user