Usuário com melhor resposta
Como utilizar Enterprise Library para criptografar app.config

Pergunta
-
Estou começando a utilizar a Enterprise Library e consegui criptografar meu app.config conforme abaixo:
<?
xml version="1.0" encoding="utf-8"?><
configuration><
configSections><
section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /></
configSections><
dataConfiguration configProtectionProvider="RsaProtectedConfigurationProvider"><
EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#"><
EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /><
KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><
EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"><
EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" /><
KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><
KeyName>Rsa Key</KeyName></
KeyInfo><
CipherData><
CipherValue>hWkYeqAMI/aCxw66b37eImdRVBPTJ7ibM0QBtfye3BmEIZfrH/OyvmhVtw2qUnJUXHGXZ78HDoZqkevHdJolMVdGi7XaSeZ4ov3j0Rzy8XosefCbukXF0J8Sh0TV1k8oMG7Sbis2m97A7ziPzlZKifOPL5BNXute0KsmnWhcqOE=</CipherValue></
CipherData></
EncryptedKey></
KeyInfo><
CipherData><
CipherValue>Tji/ctiEMDEdJLcyByxO+7rV/M8VFectiKYJskg2+xd8/jDg9ulLBPFJW8bQD4zaCf/lWpTPzpIJj3WsLGax9w==</CipherValue></
CipherData></
EncryptedData></
dataConfiguration><
connectionStrings configProtectionProvider="RsaProtectedConfigurationProvider"><
EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#"><
EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /><
KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><
EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"><
EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" /><
KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><
KeyName>Rsa Key</KeyName></
KeyInfo><
CipherData><
CipherValue>OlOb0X29fY7Xg8Wc+ps6FOe+I4EQLXMVP33rGTgoVzHhU2EOM2TUwCUOfgU65F2TXGzbqvP5lYfDAa8FZKol2RBJBphvrUQAZ0ICff0CLHMxQPQmmnK6gxs7qWbDvq/7DvHx0DMJYsefnE+1IkpR99pGDngKe9CLFlXjEyyGKQI=</CipherValue></
CipherData></
EncryptedKey></
KeyInfo><
CipherData><
CipherValue>F+teyQzyl225Cs7DF/VNZpquh//PEpCvOYLzOCOwkDSzSeChG+ziWlCjd/fwD2whZ7zzuM0trCewuYYhwQldnxLi3dk5q+tpxCMk8WUy3k1rev1dyijJkGomhkaM3Ftxd6+66Ah9v9pr+jwH6NWivCkhW8KTSQpzpUmFU0F6GLqq6ZABuYpKOKD50+L5JT5VG5NhbcKMwvGDheItOcQWYmCddeoQf1YN1tA/8+qq1AM/h8z+hEO3Y+UDHgLwh9b7eJkVG9sSZK6KHuxrUVvP9SDGleo5fFiGvSzu3NpTGyU=</CipherValue></
CipherData></
EncryptedData></
connectionStrings></
configuration>No computador onde estou desenvolvendo, tudo funciona perfeitamente, porém quando instalo o programa em outro computador, ele dá erro no RsaProtectedConfigurationProvider. Procurei na internet por uma solução mas só encontro matérias falando sobre web.config e não app.config.
Utilizo a Enterprise Library 3.1, alguém pode me dar uma luz?
grato