We are doing some summer clean up on our code base.
We have found we are using both openssl (openssl_ ... functions) and mcrypt (mcrypt_ ... functions) for some light weight encryption.
I am by no means an expert on encryption, but both our openssl and mcrypt use appears to be AES-256.
Since we are in the process of removing a number of unused / redundant extensions (php extensions that is)... We would like to remove either mcrypt or openssl.
What one is recommended? Should we convert everything over to openssl or mcrypt?
Encryption / decryption takes place in about 0.5-1% of requests. We would prefer whatever one of the two is faster.
Thanks!