Consegui identificar a resposta. Para My-SQL
para descriptografar:
SELECT CAST(AES_DECRYPT(encrypted-field,'my-encryption-key') as CHAR(50)) from table
para criptografar:
SELECT AES_ENCRYPT(encrypted-field,'my-encryption-key') from table;
Para H2:
criptografar:
ENCRYPT('AES', STRINGTOUTF8('<encryption-key>'), STRINGTOUTF8('<text to be encrypted>'))
descriptografar:
TRIM(CHAR(0) FROM UTF8TOSTRING(DECRYPT('AES', STRINGTOUTF8('<encryption-key>'), '<text to be encrypted>')))