Change Microsoft Config File Encryption Method From TripleDES

后端 未结 2 1152
轻奢々
轻奢々 2021-01-03 13:44

When encrypting (\"protecting\") Microsoft config sections, you get something that looks like the XML below. It follows (at least partially) the W3 spec for XML Encryption.

2条回答
  •  情歌与酒
    2021-01-03 13:53

    I've just checked RsaProtectedConfigurationProvider with the Reflector and as I found out there is nothing you can do to change tripledes-cbc to anything else.

    So you have to write your own ProtectedConfigurationProvider if you want to use AES encryption. You may want to use the Reflector to give you a good start.

提交回复
热议问题