mysql - How do I encrypt my table column in Grails? -


I am encrypting my column in mysql table like this:

 < Code> INSERT credit_card_info (card_id, card_nu) value (UUID), AES_ANCRCR ($ {params.card_num_enc}, '*************'))   

and I used the AES_DECRYPT method instead of the decryption. Now I moved to use GORM

I want to achieve the same effect with GOM. Is it possible that I can specify encrypting techniques in the domain class? So do I decrypt them back? And what is possible that use the UUID function in the goram?

Similar work to encrypt the user's password before saving this one

Which can be loaded before inserting, which will allow you to encrypt / decrypt the data.

Comments