ok lemme check out how this one works
wow so many things "wrong" with this code
wow so many things "wrong" with this code
- it only grabs the files from the directory you specify, no auto detection of documents\pictures folder (this is not wrong but would be nice to have that would just work)
you only need this for auto grabbing the documents folderCode:Environment.GetFolderPath(Environment.SpecialFolder.CommonDocuments);
- no support for very large files (or if you don't want to wast time on large files also no skipping)
because everything gets loaded into memory first, so the first thing that's gonna happen when it hits a large file is a OutOfMemoryException
- the password (seed) used for encrypting the file is a number from 1 to 500 converted to text and then to UTF8 bytes and made bigger with Rfc2898DeriveBytes
- it's using a "fixed" IV for every file (with the same random number)