encryption

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptBase64AES

func DecryptBase64AES(key string, cryptoText string) (string, error)

func EncryptBase64AES

func EncryptBase64AES(key string, text string) (string, error)

func PKCS5Padding

func PKCS5Padding(ciphertext []byte, blockSize int) []byte

func PKCS5UnPadding

func PKCS5UnPadding(origData []byte) []byte

func TripleDesDecrypt

func TripleDesDecrypt(keyStr, dataStr string) (string, error)

func TripleDesEncrypt

func TripleDesEncrypt(keyStr, dataStr string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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