Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

VS 2010 Suggestions on encrypting and decrypting password strings.

$
0
0
I have an application that has the hard coded encrypted version of a password. I then decrypt it and store it into a variable for use later on. My issue is that I encrypted it with a certificate as the secret, but only by reading it into a filestream. How can I avoid using a file, because if the file is deleted, then I can't ever recreate this file. I want to avoid hard coding my secret and move to a more dynamic form.

How would you tackle something like this?

Viewing all articles
Browse latest Browse all 27348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>