aes

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidBufferSize = errors.New("invalid buffer size")
)

Functions

func GenKey

func GenKey() ([32]byte, error)

func GenNonce

func GenNonce() ([12]byte, error)

func GetHexKey

func GetHexKey(s string) ([32]byte, error)

func GetHexNonce

func GetHexNonce(s string) ([12]byte, error)

func New

func New(key [32]byte, nonce [12]byte) (libenc.Coder, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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