encryption

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEncryptedReader

func NewEncryptedReader(r io.ReadCloser, key []byte) (io.ReadCloser, error)

NewEncryptedReader create new reader, decrypting data from underlying reader with a key.

func NewWriter

func NewWriter(w io.WriteCloser, key []byte) (io.WriteCloser, error)

NewWriter returns a new encryption Writer Writes to the returned writer are encrypted with a key and written to w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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