I plan to add AES encryption to VEDIT very soon. I have already found and tested relatively simple C code which implements AES.
My current plan is this:
When you encrypt a file for the first time, it would add a header line like this:
////VEDIT AES encrypted - ON////
Then when VEDIT opens a file, it would look for the header line, and if found prompt for the password to decrypt the file. The header would then be changed to:
////VEDIT AES encrypted - OFF////
Then when VEDIT closes the file, it would notice the header and re-encrypt it before saving it to disk, again changing "OFF" to "ON".
Notes: The first 4 chars of the header are arbitrary, they could be changed to the
comment indicator for any language.
There will be an option to save one password (in VEDIT encrypted form) in the vedit.ini file. I know - not real safe, but that is the user's choice.
This would be useful for creating files such as:
* Lists of passwords for various accounts
* Personal documents you want to keep safe for other eyes
As you may know, AES encryption is considered very secure and is US government approved. A 128-bit key has never been cracked. It has been suggested that a 128-bit key *might* be crackable in "only" 2**120 permutation. Current networks for computers can crack 2**64 permutations, but 2**120 would take a billion years.