Hello, I am going to encrypt the connection string My DB so
We have almost specific encryption algorithms that do this, such as md5, aes and others
For example, if I encrypt this string containing of SQL Server connection with a key, for example @1234, with the AES algorithm in My c# Cod
In the my software I Should to register or save this key somewhere in my Application to DECOD encrypted string with this key
The main question is this :
If someone gets access to this key, they can easily unlock the encrypted string
I read somewhere that you can add something to the encrypted string with salt
But I didn't understand exactly how salt works, how it protects the encrypted string, and should I store this salt locally or not?
What I have tried:
how to use salt for protected encryption pass