aes

package
v0.0.0-...-5dcfad9 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(cipherText, key []byte, keyLen int) (string, error)

Decode cipher text.

func Encode

func Encode(plainText, key []byte, keyLen int) ([]byte, error)

Encode plain text. Param keyLen available values: 16, 24, 32.

AES-128 uses a 128 bit key (16 bytes),
AES-192 uses a 192 bit key (24 bytes),
AES-256 uses a 256 bit key (32 bytes).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳