package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Functions

Decrypt decrypts the data with AES-GCM.
DecryptHex decrypts with hex string key and data.
Encrypt encrypts the data with AES-GCM.
EncryptHex encrypts with hex string key, producing hex encoded result.
NewKey generates new AES key as bytes.
NewKeyHexString generates new AES key as hex encoded string.

# Constants

AES128 represents a 128 bit key length.
AES192 represents a 192 bit key length.
AES256 represents a 256 bit key length.

# Type aliases

AESKeyType indicates the AES key length.