xcrypto

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(src []byte, key []byte, iv []byte) []byte

func AesDecryptBase64

func AesDecryptBase64(src string, key string, iv string) string

func AesDecryptHex

func AesDecryptHex(src string, key string, iv string) string

func AesEncrypt

func AesEncrypt(src []byte, key []byte, iv []byte) []byte

func AesEncryptBase64

func AesEncryptBase64(src string, key string, iv string) string

func AesEncryptHex

func AesEncryptHex(src string, key string, iv string) string

func DesDecrypt

func DesDecrypt(src []byte, key []byte, iv []byte) []byte

func DesDecryptBase64

func DesDecryptBase64(src string, key string, iv string) string

func DesDecryptHex

func DesDecryptHex(src string, key string, iv string) string

func DesEncrypt

func DesEncrypt(src []byte, key []byte, iv []byte) []byte

func DesEncryptBase64

func DesEncryptBase64(src string, key string, iv string) string

func DesEncryptHex

func DesEncryptHex(src string, key string, iv string) string

func Pkcs5Padding

func Pkcs5Padding(src []byte, blocksize int) []byte

func TripleDesDecrypt

func TripleDesDecrypt(src []byte, key []byte, iv []byte) []byte

func TripleDesDecryptBase64

func TripleDesDecryptBase64(src string, key string, iv string) string

func TripleDesDecryptHex

func TripleDesDecryptHex(src string, key string, iv string) string

func TripleDesEncrypt

func TripleDesEncrypt(src []byte, key []byte, iv []byte) []byte

func TripleDesEncryptBase64

func TripleDesEncryptBase64(src string, key string, iv string) string

func TripleDesEncryptHex

func TripleDesEncryptHex(src string, key string, iv string) string

func UnPkcs5Padding

func UnPkcs5Padding(src []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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