private function pkcs5_pad($text, $blocksize)
    {
        $pad = $blocksize - (strlen($text) % $blocksize);
        return $text . str_repeat(chr($pad), $pad);
    }
private function pkcs5_pad($text, $blocksize)
    {
        $pad = $blocksize - (strlen($text) % $blocksize);
        return $text . str_repeat(chr($pad), $pad);
    }
private function pkcs5_pad ( $ text , $ blocksize ) { $ pad = $ blocksize - ( strlen ( $ text ) % $ blocksize ) ; return $ text . str_repeat ( chr ( $ pad ) , $ pad ) ; }
Fix of encryption
@param $text
@param $blocksize
@return string
Fix of encryption