Skip to content

Commit 245e859

Browse files
jonatan1609SpEcHiDe
authored andcommitted
Add type hinting for functions
1 parent a30fa1d commit 245e859

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tgcrypto/tgcrypto.pyi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
def ige256_encrypt(data: bytes, key: bytes, iv: bytes) -> bytes:
2+
"""AES256-IGE Encryption"""
3+
def ige256_decrypt(data: bytes, key: bytes, iv: bytes) -> bytes:
4+
"""AES256-IGE Decryption"""
5+
def ctr256_encrypt(data: bytes, key: bytes, iv: bytes, state: bytes) -> bytes:
6+
"""AES256-CTR Encryption"""
7+
def ctr256_decrypt(data: bytes, key: bytes, iv: bytes, state: bytes) -> bytes:
8+
"""AES256-CTR Decryption"""
9+
def cbc256_encrypt(data: bytes, key: bytes, iv: bytes) -> bytes:
10+
"""AES256-CBC Encryption"""
11+
def cbc256_decrypt(data: bytes, key: bytes, iv: bytes) -> bytes:
12+
"""AES256-CBC Decryption"""

0 commit comments

Comments
 (0)