What is the easiest way to encrypt a password when I save it to the registry?

后端 未结 12 1901
小鲜肉
小鲜肉 2020-11-30 18:13

Currently I\'m writing it in clear text oops!, it\'s an in house program so it\'s not that bad but I\'d like to do it right. How should I go about encrypting this w

12条回答
  •  情深已故
    2020-11-30 18:38

    If you need more than this, for example securing a connection string (for connection to a database), check this article, as it provides the best "option" for this.

    Oli's answer is also good, as it shows how you can create a hash for a string.

提交回复
热议问题