Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecryptCBC ¶
func AesEncryptCBC ¶
Types ¶
type CiphertextBase64 ¶
type CiphertextBase64 struct{}
type CiphertextCoder ¶
密文编码器
type PKCS7Pading ¶
type PKCS7Pading struct{}
func (*PKCS7Pading) Pading ¶
func (p *PKCS7Pading) Pading(plaintext []byte) []byte
func (*PKCS7Pading) UnPading ¶
func (p *PKCS7Pading) UnPading(plaintext []byte) []byte
type XAES ¶
type XAES struct {
// contains filtered or unexported fields
}
type ZeroPading ¶
type ZeroPading struct{}
func (*ZeroPading) Pading ¶
func (p *ZeroPading) Pading(plaintext []byte) []byte
func (*ZeroPading) UnPading ¶
func (p *ZeroPading) UnPading(plaintext []byte) []byte
Click to show internal directories.
Click to hide internal directories.