ACS is a simple Golang library that provides AES-CBC Writer and Reader.
key := []byte("f>Gp@U-y4;$8`C@QP#^s]]ptuN='mD7,")
w, err := acs.NewWriter(anIoWriter, key)
if err != nil {
// Something
}
io.Copy(w, anIoReader)
r, err := acs.NewReader(anIoReader, key)
if err != nil {
// Something
}
io.Copy(anIoWriter, r)
MIT
All PRs are welcome.
- Fork it
- 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 new Pull Request