aesutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKey128

func NewKey128() ([]byte, error)

GenerateAESKey will generate a new 16 byte key for AES-128

AES-128 is probably secure and will be better performant than 256, but AES-256 is recommended anyway.

func NewKey192

func NewKey192() ([]byte, error)

GenerateAESKey will generate a new 24 byte key for AES-192

AES-192 is probably secure and will be better performant than 256, but AES-256 is recommended anyway.

func NewKey256

func NewKey256() ([]byte, error)

GenerateAESKey will generate a new 32 byte key for AES-256

This is the recommended key size to use unless you have a reason to be extra concerned about performance and are willing to sacrafice some security peace of mind for it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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