encrypting serilized object

D

DBC User

I have couple of object I serialise and store them in file between
session. If you open the files you could see the string values. I want
a way to encrypt the data so that if anyone opens the file they
shouldn't be able to read it. Just to increase the security of the
system. How can I do this?
Thanks.
 
C

CodeLeon

DBC: Although I am not an expert, I want to offer the following advice.

If you want to encrypt the values, the best way I can think of doing
this is to write the serialization to a temporary file, then run that
file through your favorite encryption algorithm and save the encrypted
file. Have fun :)
 
D

DBC User

All,

Thank you very much and is a very helpful. I will write some test code
and see if that resolves my problem. By anychance does any one have any
code snippets on this?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top