mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
parent
e7a85520f2
commit
d2d4f55673
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ try:
|
||||||
|
|
||||||
|
|
||||||
class AES:
|
class AES:
|
||||||
|
# TODO: Use new tgcrypto function names
|
||||||
@classmethod
|
@classmethod
|
||||||
def ige256_encrypt(cls, data: bytes, key: bytes, iv: bytes) -> bytes:
|
def ige256_encrypt(cls, data: bytes, key: bytes, iv: bytes) -> bytes:
|
||||||
return tgcrypto.ige256_encrypt(data, key, iv)
|
return tgcrypto.ige256_encrypt(data, key, iv)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue