aes

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(crypted []byte, key []byte, iv []byte) ([]byte, error)

func AesDecryptForB64 added in v0.0.7

func AesDecryptForB64(origDataB64 string, key []byte, iv []byte) ([]byte, error)

func AesDecryptForB64AndHexKey added in v0.0.9

func AesDecryptForB64AndHexKey(origDataB64 string, keyHex string, ivHex string) ([]byte, error)

func AesEncrypt

func AesEncrypt(origData []byte, key []byte, iv []byte) ([]byte, error)

func AesEncryptForHexKey added in v0.0.7

func AesEncryptForHexKey(origData []byte, keyHex string, ivHex string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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