Documentation
¶
Index ¶
- Constants
- func PKCS5Padding(data []byte) []byte
- func PKCS5Unpadding(data []byte) ([]byte, error)
- func PKCS7Padding(data []byte, blockSize int) []byte
- func PKCS7Unpadding(data []byte, blockSize int) ([]byte, error)
- func Pad(data []byte, blockSize int, mode string) ([]byte, error)
- func Unpad(data []byte, blockSize int, mode string) ([]byte, error)
Constants ¶
View Source
const ( PKCS5 = "PKCS5" PKCS7 = "PKCS7" ZERO = "ZERO" ANSIX923 = "ANSIX923" )
Variables ¶
This section is empty.
Functions ¶
func PKCS5Padding ¶
func PKCS5Unpadding ¶
func PKCS7Padding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.