mth_code

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_KEY = "1MEhD58VjFeFARU7BIbOYXNGCz5uQNp6"
)

Variables

This section is empty.

Functions

func MthDesDecrypt

func MthDesDecrypt(ciphertext string) (string, error)

func MthDesEncrypt

func MthDesEncrypt(ciphertext string) (string, error)

func PKCS5Padding

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

func PKCS5UnPadding

func PKCS5UnPadding(origData []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