.net - How to encrypt a generic dictionary? -
could provide starting point encrypting generic dictionary in .net?
update i'm storing bunch of string values string keys. dictionary storing quite few items though. i'm not sure whether encrypting content better vs encrypting dictionary.
see this question on encrypting/decrypting strings.
if want encrypt whole dictionary object first need copy sortedlist<string, string> or similar. xmlserialization doesn't support idictionary-objects (neither keyvaluepair).
here wrapper class dictionary supports serialization.
Comments
Post a Comment