which algorithm is prefered for hiding an important string into database using c# ?
ENCODING AND DECODING STRINGS WITH C#
mean i have some important data (they are not passwords) , so i want to change them in database!
also i need to reconvert them to normal mode for using in my web pages ?
how can i do this job ?
i know we can use md5 hash for passwords / but by doing this we can not reconvert them to normal mode!
so , should be another way for another data!
thanks in advance
best regards
It sounds like you simply want encryption. Depending on the scenario (who can read it vs who can write it) this could be symmetric or asymmetric. Just keep the keys outside the db.
Another option: assume access to the DB is secure; then you don’t need to encrypt the data. You would, however encrypt the connection, and typically enable the encrypted storage options inside the database itself. So everything is encrypted, but invisibly to you as a caller.