2019-10-15 18:47:56 +04:00

14 lines
593 B
Objective-C

#import <Foundation/Foundation.h>
#if defined(MtProtoKitDynamicFramework)
# import <MTProtoKitDynamic/MTEncryption.h>
#elif defined(MtProtoKitMacFramework)
# import <MTProtoKitMac/MTEncryption.h>
#else
# import <MtProtoKit/MTEncryption.h>
#endif
void MyAesIgeEncrypt(const void *inBytes, int length, void *outBytes, const void *key, int keyLength, void *iv);
void MyAesIgeDecrypt(const void *inBytes, int length, void *outBytes, const void *key, int keyLength, void *iv);
void MyAesCbcDecrypt(const void *inBytes, int length, void *outBytes, const void *key, int keyLength, void *iv);