I have a class that read a delimited file with a string and a integer and store it into a data dictionary.
I will like to encrypt it into a file and later be able to read the encrypt file and put data back into the data dictioanry.
I have the code below and not sure where I need to add to encrypt the data.
I thought I will write data dictionary into a memory file and then write using cryptostream. Is that correct? If I do this how can I retrieve it and restore the key/value into the data dictionary