Versions in this module Expand all Collapse all v1 v1.0.1 May 8, 2026 Changes in this version + type ISO10126 struct + func NewISO10126() ISO10126 + func (this ISO10126) Padding(text []byte, blockSize int) []byte + func (this ISO10126) UnPadding(src []byte) ([]byte, error) + type ISO7816_4 struct + func NewISO7816_4() ISO7816_4 + func (this ISO7816_4) Padding(text []byte, blockSize int) []byte + func (this ISO7816_4) UnPadding(src []byte) ([]byte, error) + type ISO97971 struct + func NewISO97971() ISO97971 + func (this ISO97971) Padding(text []byte, blockSize int) []byte + func (this ISO97971) UnPadding(src []byte) ([]byte, error) + type PBOC2 struct + func NewPBOC2() PBOC2 + func (this PBOC2) Padding(text []byte, blockSize int) []byte + func (this PBOC2) UnPadding(src []byte) ([]byte, error) + type PKCS1 struct + func NewPKCS1(bt string) PKCS1 + func (this PKCS1) Padding(text []byte, blockSize int) []byte + func (this PKCS1) UnPadding(src []byte) ([]byte, error) + type PKCS5 struct + func NewPKCS5() PKCS5 + func (this PKCS5) Padding(text []byte, _ int) []byte + func (this PKCS5) UnPadding(src []byte) ([]byte, error) + type PKCS7 struct + func NewPKCS7() PKCS7 + func (this PKCS7) Padding(text []byte, blockSize int) []byte + func (this PKCS7) UnPadding(src []byte) ([]byte, error) + type Padding interface + Padding func(text []byte, blockSize int) []byte + UnPadding func(src []byte) ([]byte, error) + type TBC struct + func NewTBC() TBC + func (this TBC) Padding(text []byte, blockSize int) []byte + func (this TBC) UnPadding(src []byte) ([]byte, error) + type X923 struct + func NewX923() X923 + func (this X923) Padding(text []byte, blockSize int) []byte + func (this X923) UnPadding(src []byte) ([]byte, error) + type Zero struct + func NewZero() Zero + func (this Zero) Padding(text []byte, blockSize int) []byte + func (this Zero) UnPadding(src []byte) ([]byte, error)