my transfer data with RSA
should i save public and private key in data base per user ?
Hello. If you need to use SSL encrypted database connection, where all the data moving between your app and database is encrypted, then this is specific to the database you're using. You should search something like "MySql SSL connection". This doesn't make much sense, however, imho. It's important to understand that data in the database is stored non-encrypted in this case. Another option would be to encrypt columns with important data. You should search for "spring jpa converter encrypt", there are examples available. It would be a better choice
Обсуждают сегодня