Easily encrypt/decrypt data or file using chacha20
- in code
import "github.com/4zv4l/chacha"
- in terminal
go get github.com/4zv4l/chacha
There is a :
var Buff_size int = 2048
Allowing to change the buffer size (can increase speed when enc/dec files)