aesbuddy

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MPL-2.0 Imports: 5 Imported by: 1

README

aesbuddy - v1.1.1

An simple and easy to use AES libary for Go supporting

  • AES GCM 128-bit
  • AES GCM 192-bit
  • AES GCM 256-bit
  • AES CBC 128-bit
  • AES CBC 192-bit
  • AES CBC 256-bit

Install

To install the package use

go get -u github.com/aixoio/aesbuddy@v1.1.1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesCBCDecrypt added in v1.1.1

func AesCBCDecrypt(key, data []byte) ([]byte, error)

`key` is a 16, 24 or 32 byte slice of your decryption key `data` is slice of the data you are trying to decrypt

func AesCBCEncrypt added in v1.1.1

func AesCBCEncrypt(key, data []byte) ([]byte, error)

`key` is a 16, 24 or 32 byte slice of your encryption key `data` is slice of the data you are trying to encrypt

func AesGCMDecrypt added in v1.1.1

func AesGCMDecrypt(key, data []byte) ([]byte, error)

`key` is a 16, 24 or 32 byte slice of your decryption key `data` is slice of the data you are trying to decrypt

func AesGCMEncrypt added in v1.1.1

func AesGCMEncrypt(key, data []byte) ([]byte, error)

`key` is a 16, 24 or 32 byte slice of your encryption key `data` is slice of the data you are trying to encrypt

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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