Store password field in encryption form using MySQL and Hibernate

I am using Spring, Hibernate to develop my application. And as a DB side, I have MySQL. I have a User table and have a password field of type varchar.

Now that the new user has been created, I just want to save the password in the password field in encrypted form. Are there any tools provided by Hibernate for this? Or is there another way?

+3
source share
2 answers

I solve this problem by creating a single trigger in mysql.

, , , , , mysql.

0
+4

Source: https://habr.com/ru/post/1723990/


All Articles