Documentation ¶
Overview ¶
Package pkcs7 implements PKCS#7 padding
This is a standard way of encoding variable length buffers into buffers which are a multiple of an underlying crypto block size.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorPaddingNotFound = errors.New("bad PKCS#7 padding - not padded") ErrorPaddingNotAMultiple = errors.New("bad PKCS#7 padding - not a multiple of blocksize") ErrorPaddingTooLong = errors.New("bad PKCS#7 padding - too long") ErrorPaddingTooShort = errors.New("bad PKCS#7 padding - too short") ErrorPaddingNotAllTheSame = errors.New("bad PKCS#7 padding - not all the same") )
Errors Unpad can return
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.