1352. Class

1352.1. Zend\Crypt\Symmetric\Padding\Pkcs7

PKCS#7 padding

1352.1.1. Methods

1352.1.1.1. pad

pad()

Pad the string to the specified size

Parameters:
  • string – The string to pad
  • int – The size to pad to
Return type:

string The padded string

1352.1.1.2. strip

strip()

Strip the padding from the supplied string

Parameters:string – The string to trim
Return type:string The unpadded string

Project Versions

Table Of Contents

Previous topic

1350. Function

Next topic

1353. Class

This Page