Change Microsoft Config File Encryption Method From TripleDES

后端 未结 2 1129
轻奢々
轻奢々 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.

    0 讨论(0)
  • 2021-01-03 13:59

    You probably want to build a custom ProtectedConfigurationProvider. See Implementing a Protected Configuration Provider and How to: Build and Run the Protected Configuration Provider Example.

    0 讨论(0)
提交回复
热议问题