Write AES 256 Encrypt and Decrypt Swift and PHP functions

Job ID: 32106362

Budget: $10 – $30 USD

Hello,
I have swift app project that I Encrypt and Decrypt Strings at AES 256
I need PHP file with the same Encrypt and Decrypt.

For now I used 'CryptoSwift' lib to Encrypt and Decrypt at Swift.
with:
static let key = Array("fqJfdzGDvfwbedsKSUGty3VZ9taXxMVw".utf8)
static let iv = Array("1234567890123456".utf8)

The string "Hello World" Encrypt to "DcqU31RpbNqI3XQJbJkEFw=="

I need PHP func that Decrypt "DcqU31RpbNqI3XQJbJkEFw==" to "Hello World" and another one
to Encrypt "Hello World" to "DcqU31RpbNqI3XQJbJkEFw==".

Thanks
Related categories: PHP Swift iOS Development