aes

package
v0.0.0-...-4035bb8 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptBase64

func DecryptBase64(cipherText string, encKey string, iv string) (decryptedString string)

func DecryptHex

func DecryptHex(cipherText string, encKey string, iv string) (decryptedString string)

func DecryptPayload

func DecryptPayload(key string, iv string, cipherText string, payload interface{})

func EncryptBase64

func EncryptBase64(plaintext string, key string, iv string, blockSize int) string

func EncryptHex

func EncryptHex(plaintext string, key string, iv string, blockSize int) string

func EncryptPayload

func EncryptPayload(key string, iv string, payload interface{}) string

func PKCS5PaddingX

func PKCS5PaddingX(ciphertext []byte, blockSize int, after int) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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