common

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PKCS7Padding

func PKCS7Padding(plantText []byte, blockSize int) []byte

PKCS7Padding 编码

func PKCS7UnPadding

func PKCS7UnPadding(plantText []byte) []byte

PKCS7UnPadding 解码

Types

type CData

type CData struct {
	Text string `xml:",cdata"`
}

CData 表示 xml 中的 CDATA 的内容,本身并不能直接以字段的形式 出现在结构体中,只能以一个结构包含住。

具体的使用方式可参考测试代码

Jump to

Keyboard shortcuts

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