Cannot find Factory for creating CryptogrophyManager

Topics: Cryptography Application Block
May 14, 2010 at 6:09 PM

I'm trying to use the CryptographyManager, but cant seem to find a Configuration based factory to generate one.  Where is this class located?

May 14, 2010 at 6:13 PM

Or, just in general, which implementation class should I use for a CryptographyManager?  The documentation shows the line:

string encryptedContentsBase64 = crypto.EncryptSymmetric("symmProvider", "password"); 

assuming you already have an instansiated CryptographyManager crypto.

It would be helpful if the documentation showed how to do this, such as through Unity.


May 16, 2010 at 2:15 AM

You resolve CryptographyManager.


or (through Unity)


The documentation covers how to get Entlib objects in chapter 1.