ACS is a simple Golang library that provides AES-CBC Writer and Reader
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.