From memory
@Anser, I hope that this is correct...
SELECT AES_DECRYPT(FirstName, 'MyPassword') As Name FROM MyTableName;
My preferred method is the following. As I create apps in B4A, B4J, VB.Net and C#.Net. I've created libs to encrypt/decrypt in all the IDE's for me which can easily connect to just one DB. But you really should nit be having any issues with using AES_ENCRYPT or AES_DECRYPT directly in your db.
This library works with both B4A and B4J. Yes yes yes there are other ways to do this, this is how I do it. I have lots of small libraries that I use for myself, so I thought that I would share this one with the community. Hello fellow B4X'ers, I've decided to release this simple to use AES...