Closed matiniamirhossein closed 5 years ago
@matiniamirhossein Hi! I've updated tgcrypto literally minutes ago, but the readme is currently in a misleading state. The correct method names are now ige256_encrypt/decrypt and ctr256_encrypt/decrypt.
I'll update the readme asap.
@delivrance Thanks. But I think they should be deprecated for a while then removed. A lot of source codes does not work now when installing.
@matiniamirhossein You are right about the deprecation thing, but I planned to update Pyrogram too (which I did already) and you are supposed to use the latest version! I think you just stumbled on this while I was busy upgrading, which took longer than usual.
Hello, Using the same code as in README, we are getting this error: AttributeError: module 'tgcrypto' has no attribute 'ige_encrypt' This also stands for other methods: AttributeError: module 'tgcrypto' has no attribute 'ige_decrypt'
Issue happens on the latest version: 1.1.1 Solved via these commands:
Code: