mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-03 11:21:06 +00:00
12 lines
478 B
Objective-C
12 lines
478 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
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);
|
|
|
|
@interface MTAesCtr : NSObject
|
|
|
|
- (instancetype)initWithKey:(const void *)key keyLength:(int)keyLength iv:(const void *)iv;
|
|
- (void)encryptIn:(const unsigned char *)in out:(unsigned char *)out len:(size_t)len;
|
|
|
|
@end
|