How do I encrypt a string and get a equal length encrypted string?

后端 未结 8 1039
南笙
南笙 2020-12-09 05:55

My problem is the following:

In an existing database I want to encrypt data in a couple of columns. The columns contains strings of different lengths.

I don\

8条回答
  •  执笔经年
    2020-12-09 06:22

    You should take a minute and think of the real problem you're trying to solve. I've seen very few instances where database encryption was really nessecary, since information rarely flows directly from the database to an end user.

    If you need to protect content of the database, then you should perhaps look into its standard access control mechanisms instead.

提交回复
热议问题