stream

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const ChunkSize = 256 * 1024

Variables

This section is empty.

Functions

func NewReader

func NewReader(r io.Reader, k symmecrypt.Key, chunkSize int, extras ...[]byte) io.Reader

NewReader needs doc

func NewWriter

func NewWriter(w io.Writer, k symmecrypt.Key, chunkSize int, extras ...[]byte) io.WriteCloser

NewWriter needs documentation and must be closed

Types

type Key

type Key interface {
	EncryptPipe(io.Reader, io.Writer, ...[]byte) error
	DecryptPipe(io.Reader, io.Writer, ...[]byte) error
}

func NewKey

func NewKey(k symmecrypt.Key) Key

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL