aes

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecryptByPkcs5Padding added in v1.0.24

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

func AesDecryptByPkcs7Padding added in v1.0.24

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

func AesDecryptForB64AndHexKeyByPkcs5Padding added in v1.0.24

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

func AesDecryptForB64AndHexKeyByPkcsP7adding added in v1.0.24

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

func AesDecryptForB64ByPkcs5Padding added in v1.0.24

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

func AesDecryptForB64ByPkcs7Padding added in v1.0.24

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

func AesEncryptByPkcs5Padding added in v1.0.24

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

func AesEncryptByPkcs7Padding added in v1.0.24

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

func AesEncryptForHexKeyByPkcs5Padding added in v1.0.24

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

func AesEncryptForHexKeyByPkcs7Padding added in v1.0.24

func AesEncryptForHexKeyByPkcs7Padding(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