chacha

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretKeyLength = chacha20poly1305.KeySize
)

Variables

This section is empty.

Functions

func New

func New(key []byte) (encryption.Service, error)

func NewChaChaKey added in v1.1.0

func NewChaChaKey(w io.Writer, service encryption.Service, random io.Reader) encryption.KeyGenerator

Types

This section is empty.

Jump to

Keyboard shortcuts

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