Notice that BasicTextEncryptor is deprecated. It uses DES and MD5 for password to key generation. These should not be used for new work. DES uses a 56 bit key which is considered to short, even when DES is used today it is usually used in 3DES form which provided 112 or 168 bit keys.
The additional problem is that it will require substantial digging to get all the information and options used by BasicTextEncryptor.
Your best option is to use current cryptographic methods and methods that clearly layout the options and methods used, these are: PBKDF2 and AES.
PBKDF2 is a method to create a secure encryption key from a password. PBKDF2 stands for "Password-Based Key Derivation Function 2", you will need tp know the number of rounds used. This is the replacement for the use of MD5.
AES stands for "Advanced Encryption Standard" and supports 128 and 256 bit keys.
The options you will need to know for compatibility are:
- Encryption mode
- IV (Initialization Vector)
- Padding
- Key size
Both PBKDF2 and AES are supported by iOS CommonCrypto.