aes

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(cryted []byte, key string) ([]byte, error)

func DecryptFromB64

func DecryptFromB64(cryted string, key string) (string, error)

func Encrypt

func Encrypt(orig []byte, key string) ([]byte, error)

func EncryptToB64

func EncryptToB64(orig string, key string) (string, error)

func PKCS7Padding

func PKCS7Padding(ciphertext []byte, blocksize int) []byte

func PKCS7UnPadding

func PKCS7UnPadding(origData []byte) ([]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