Documentation
¶
Index ¶
- Constants
- func MthDesDecrypt(ciphertext string) (string, error)
- func MthDesDecryptByKey(ciphertext string, key string) (string, error)
- func MthDesEncrypt(ciphertext string) (string, error)
- func MthDesEncryptByKey(ciphertext string, key string) (string, error)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
Constants ¶
View Source
const (
DEFAULT_KEY = "1MEhD58VjFeFARU7BIbOYXNGCz5uQNp6"
)
Variables ¶
This section is empty.
Functions ¶
func MthDesDecrypt ¶
func MthDesDecryptByKey ¶ added in v0.5.3
func MthDesEncrypt ¶
func MthDesEncryptByKey ¶ added in v0.5.3
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.