encryption - C# - save data in file that can't be opened by user -


i'm trying store user data locally in encrypted file. using settings method not need want create file somewhere , write - after writing should encrypted user can't open/edit it.

later application should able decrypt , read/edit file.

i don't have experiences in xml , don't know if that's i'm looking for. however, if possible solve without xml.

do have ideas on how program encryption thing? thanks!

if have got further questions, leave comment , i'll take care of it.

edit seems forgot mention want prevent average user viewing or editing file. not want create high security app.

what can joey encrypt whole string , save that, keep encryption key inside code, when want edit/read written data can use same key decrypt it

the service called aescryptoserviceprovider, here documentation https://msdn.microsoft.com/en-us/library/system.security.cryptography.aescryptoserviceprovider(v=vs.110).aspx

also video may aswell https://www.youtube.com/watch?v=ubogknuv7ik


Comments

Popular posts from this blog

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -

Qt4: how to send QString inside a struct via QSharedMemory -