cipherio

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package cipherio provides I/O interfaces for encryption streams.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReader

func NewReader(r io.Reader, mode cipher.BlockMode, pad padding.Padding) io.Reader

NewReader creates a new reader that decrypts and strips padding from r.

func NewWriter

func NewWriter(w io.Writer, mode cipher.BlockMode, pad padding.Padding) io.WriteCloser

NewWriter creates a new writer that encrypts its input and writes to w. Closing the writer adds the final padding but does not close w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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