CodeIgniter application that needs to be able to encrypt/decrypt spefici fields and for specific records.
I am thinking of two posible ways to do this:
- Use the crypt() php function and pass the result to the SQL statement
- Use the MySql encryption functions
Which one should i choose and why?