go>> acs>> 返回
项目作者: mdouchement

项目描述 :
ACS is a simple Golang library that provides AES-CBC Writer and Reader
高级语言: Go
项目地址: git://github.com/mdouchement/acs.git
创建时间: 2017-06-09T15:05:03Z
项目社区:https://github.com/mdouchement/acs

开源协议:MIT License

下载


ACS - AES CBC Streamer

CircleCI
GoDoc
Go Report Card
License

ACS is a simple Golang library that provides AES-CBC Writer and Reader.

  1. key := []byte("f>Gp@U-y4;$8`C@QP#^s]]ptuN='mD7,")
  2. w, err := acs.NewWriter(anIoWriter, key)
  3. if err != nil {
  4. // Something
  5. }
  6. io.Copy(w, anIoReader)
  7. r, err := acs.NewReader(anIoReader, key)
  8. if err != nil {
  9. // Something
  10. }
  11. io.Copy(anIoWriter, r)

License

MIT

Contributing

All PRs are welcome.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am ‘Add some feature’)
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request