filecrypt is a Go library to easily encrypt and decrypt files using the GCM encryption.
import "github.com/isfonzar/filecrypt"
// Encrypts a file
filecrypt.Encrypt(file, password)
// Decrypts a file
filecrypt.Decrypt(file, password)
Please use the issue tracker to report any bugs or file feature requests.
PRs are welcome. To begin developing, do this:
$ git clone --recursive [email protected]:isfonzar/CryptoGo.git
$ cd CryptoGo/
- Create an issue to discuss about your idea
- [Fork it] (https://github.com/isfonzar/filecrypt/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Profit! ✅