Zend Framework
3.0
|
PKCS#7 padding. More...
Public Member Functions | |
pad ($string, $blockSize=32) | |
Pad the string to the specified size. | |
strip ($string) | |
Strip the padding from the supplied string. | |
PKCS#7 padding.
pad | ( | $string, | |
$blockSize = 32 |
|||
) |
Pad the string to the specified size.
string | $string | The string to pad |
int | $blockSize | The size to pad to |
Implements PaddingInterface.
strip | ( | $string | ) |
Strip the padding from the supplied string.
string | $string | The string to trim |
Implements PaddingInterface.