Package Usage: go: github.com/connesc/cipherio
Package cipherio allows to use block ciphers with io.Reader and io.Writer.
Golang already provides io.Reader and io.Writer implementations for cipher.Stream, but not for
cipher.BlockMode (such as AES-CBC). The purpose of this package is to fill the gap.
Block ciphers require data size to be a multiple of the block size. The io.Reader and io.Writer
implementations found here can either enforce this requirement or automatically apply a
user-defined padding.
This package has been written with performance in mind: buffering and copies are avoided as much
as possible.
3 versions
Latest release: about 5 years ago
126 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/connesc/cipherio