Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

Balletje

@Balletje
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Appending data to a aes encrypted file?
    B Balletje

    Well the application stores information about servers, their locations and needed passwords. That was basically the whole reason why i wanted that file encrypted because *should* it fall in the wrong hands they will at least have some trouble getting the information from it. But i am quite new to the whole encryption stuff, so i did not really know which way to take.

    C# question

  • Appending data to a aes encrypted file?
    B Balletje

    :laugh: Ahhhh yes how stupid of me....... I will go and try to construct a method that will decrypt the file into memory, append last data added to the end and re-encrypt the whole deal back. Still i think i need to go and try to find some good lecture about this matter as i am having a bit of trouble understanding how it works. Though people's input here has been great and i greatly appreciate it. Thank you for explaining! :thumbsup:

    C# question

  • Appending data to a aes encrypted file?
    B Balletje

    Well it seems i need to do a lot more reading then, any good suggestions on books or online material that touches this subject? It's critical to my application to store the data encrypted if possible, only the information supplied by the user should be encrypted in one file. I would like to thank you both about shedding some light on this topic.

    C# question

  • Appending data to a aes encrypted file?
    B Balletje

    Thank you for your swift answer OriginalGriff. Let's see if i understand this correctly then, i will try and use your suggested method. However using MemoryStream to decrypt, append and then rewrite the whole data into the same file wouldn't that overwrite that same file? Using a memory stream to let's say decrypt a big file into memory, let's say 200MB wouldn't that affect system speed?

    C# question

  • Appending data to a aes encrypted file?
    B Balletje

    Hello good people, I was wondering if it is possible to append data to an already encrypted file? I tried a few projects the past few days but always when i append data to the file, the second line and all lines after that contain mangled data. Using google to find out if it is possible or not did not give me any desirable results, so i wanted to ask in here if someone knows? Am i trying to do something that is not possible? Do i need to take a different approach, like first decrypting all data into a temporary file and then re-encrypt the whole lot? Any advise would be greatly appreciated, after three days of trying i am hoping someone could enlighten me. :laugh:

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups