xchacha20poly1305

package
v0.0.0-...-1e1c372 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XChaCha20Poly1305

type XChaCha20Poly1305 struct {
	// contains filtered or unexported fields
}

func Init

func Init(key []byte) (*XChaCha20Poly1305, error)

func (*XChaCha20Poly1305) Open

func (x *XChaCha20Poly1305) Open(data []byte) ([]byte, error)

func (*XChaCha20Poly1305) Seal

func (x *XChaCha20Poly1305) Seal(data []byte) []byte

Jump to

Keyboard shortcuts

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