13#import <Foundation/Foundation.h>
16#define TSXEncryptorBlockCipherAlgo kCCAlgorithmAES128
17#define TSXEncryptorBlockCipherKeySize kCCKeySizeAES256
18#define TSXEncryptorBlockCipherOptions kCCOptionPKCS7Padding
19#define TSXEncryptorBlockCipherBlockSize 16
22#define TSXEncryptorPBKDF2Rounds 100
23#define TSXEncryptorPBKDF2Salt "9D¶3L}S¿lA[e€3C«"
24#define TSXEncryptorPBKDF2SaltLen TSXEncryptorBlockCipherOptions
25#define TSXEncryptorPBKDF2KeySize TSXEncryptorBlockCipherKeySize
30 NSData *_encryption_key;
31 NSString *_plaintext_password;
34@property(readonly) NSString *plaintextPassword;
36- (id)initWithPassword:(NSString *)plaintext_password;
38- (NSData *)encryptData:(NSData *)plaintext_data;
39- (NSData *)decryptData:(NSData *)encrypted_data;
40- (NSData *)encryptString:(NSString *)plaintext_string;
41- (NSString *)decryptString:(NSData *)encrypted_string;