| Fully Qualified Name: | Laminas\Crypt\Symmetric\Padding\PaddingInterface |
| Name | Description | Defined By |
|---|---|---|
| pad() | Pad the string to the specified size | PaddingInterface |
| strip() | Strip the padding from the supplied string | PaddingInterface |
Pad the string to the specified size
| Parameter Name | Type | Description |
|---|---|---|
| $string | string | The |
| $blockSize | int | The |
Returns: string The padded string
Strip the padding from the supplied string
| Parameter Name | Type | Description |
|---|---|---|
| $string | string | The |
Returns: string The unpadded string