src/Client/KeenIOClient.php
protected function padString($string, $blockSize = 32)
    {
        $paddingSize = $blockSize - (strlen($string) % $blockSize);
        $string      .= str_repeat(chr($paddingSize), $paddingSize);

        return $string;
    }
protected function padString($string, $blockSize = 32)
    {
        $paddingSize = $blockSize - (strlen($string) % $blockSize);
        $string      .= str_repeat(chr($paddingSize), $paddingSize);

        return $string;
    }
protected function padString ( $ string , $ blockSize = 32 ) { $ paddingSize = $ blockSize - ( strlen ( $ string ) % $ blockSize ) ; $ string .= str_repeat ( chr ( $ paddingSize ) , $ paddingSize ) ; return $ string ; }
Implement PKCS7 padding

@param string $string
@param int    $blockSize

@return string
Implement PKCS7 padding