Specify a vector key for SymmetricAlgorithmProvider

Topics: Cryptography Application Block
Jun 12, 2009 at 3:33 PM

How can I specify a vector key for the SymmetricAlgorithmProvider? I need to search on the encrypted values stored in Sql. In it's current implementation, SymmetricAlgorithmProvider uses a random IV for every encryption request.

Thanks.

Jun 15, 2009 at 8:04 AM

You would have to create your own symmetric algorithm provider if you want to achieve the behavior you want. 

 

Sarah Urmeneta
Global Technology & Solutions
Avande, Inc.
entlib.support@avanade.com