marcopaganini / iocrypt

Go library to encrypt/decrypt I/O streams (suitable for large data sets)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iocrypt

Build Status Go Report Card GoDoc

I/O encryption/decryption library in Go.

This is a simple library that allows I/O streams to be easily encrypted and decrypted using Go's standard AES/GCM implementation. Unlike the original libraries, which operate on slices of bytes, iocrypt reads, encrypts, and saves data in chunks, allowing the use of large data sets.

SUPER IMPORTANT DISCLAIMER

I am NOT a cryptographer and I wrote this code in one afternoon. This library makes use of the the standard libraries to encrypt/decrypt a file in "chunks", so it should be safe. Use at your own risk. Feel free to review the code and report any problems.

About

Go library to encrypt/decrypt I/O streams (suitable for large data sets)

License:Apache License 2.0


Languages

Language:Go 93.4%Language:Shell 6.6%