File encrypt/decypt

I am planning to do a bit of encryption work soon and I decided to review the very first non-trivial Go program I wrote… it was good for a chuckle or two. I decided to spend a few minutes to update it and to move AES-256.

The code will encrypt and write a gzip file; and decrypt it back to the original. The gzip keeps the file size down, at least for text files. Encrypted PDFs will be a little smaller than than the original, but not a lot.

If nothing else, it is an easy intro to the encryption capabilities in the standard library.
Find at: https://github.com/mandolyte/FileCrypt
Enjoy!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.