cipher

package
v0.0.0-...-f3456cc Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptReader

func DecryptReader(key string, r io.Reader) (*cipher.StreamReader, error)

DecryptReader will return a reader that will decrypt data from the provided reader and give the user a way to read that data as if it was not encrypted.

func EncryptWriter

func EncryptWriter(key string, w io.Writer) (*cipher.StreamWriter, error)

EncryptWriter will return a writer that will write encrypted data to the original writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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