package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Feb 25, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func PKCS7Padding(plantText []byte, blockSize int) []byte
PKCS7Padding 编码
func PKCS7UnPadding(plantText []byte) []byte
PKCS7UnPadding 解码
type CData struct {
Text string `xml:",cdata"`
}
CData 表示 xml 中的 CDATA 的内容,本身并不能直接以字段的形式
出现在结构体中,只能以一个结构包含住。
具体的使用方式可参考测试代码
Source Files
¶
Click to show internal directories.
Click to hide internal directories.