Best way to store encryption keys in .NET C#

后端 未结 6 737
粉色の甜心
粉色の甜心 2020-11-29 20:06

In our application we have a lot of sensitive configuration settings, which we are storing in a xml file which is again encrypted.

This secure file has to be decrypt

6条回答
  •  無奈伤痛
    2020-11-29 20:54

    When you install the application, make a new set of RSA keys, then encrypt the data with AES using the private key as the password. As Windows stores RSA private keys securely on the PC that created them, the data can only be decrypted by the computer that created the data because only that computer will have the necessary key.

提交回复
热议问题