Versions in this module Expand all Collapse all v1 v1.24.4 Aug 19, 2016 Changes in this version + func NewAesDecryptionStream(key []byte, iv []byte) cipher.Stream + func NewAesEncryptionStream(key []byte, iv []byte) cipher.Stream + func NewChaCha20Stream(key []byte, iv []byte) cipher.Stream + type CryptionReader struct + func NewCryptionReader(stream cipher.Stream, reader io.Reader) *CryptionReader + func (this *CryptionReader) Read(data []byte) (int, error) + func (this *CryptionReader) Release() + type CryptionWriter struct + func NewCryptionWriter(stream cipher.Stream, writer io.Writer) *CryptionWriter + func (this *CryptionWriter) Release() + func (this *CryptionWriter) Write(data []byte) (int, error)