protected function _pad($text, $ignore = false)
    {
        $blocksize = Horde_Crypt_Blowfish::BLOCKSIZE;
        $padding = $blocksize - (strlen($text) % $blocksize);

        return ($ignore && ($padding == $blocksize))
            ? $text
            : $text . str_repeat(chr($padding), $padding);
    }
protected function _pad($text, $ignore = false)
    {
        $blocksize = Horde_Crypt_Blowfish::BLOCKSIZE;
        $padding = $blocksize - (strlen($text) % $blocksize);

        return ($ignore && ($padding == $blocksize))
            ? $text
            : $text . str_repeat(chr($padding), $padding);
    }
protected function _pad ( $ text , $ ignore = false ) { $ blocksize = Horde_Crypt_Blowfish :: BLOCKSIZE ; $ padding = $ blocksize - ( strlen ( $ text ) % $ blocksize ) ; return ( $ ignore && ( $ padding == $ blocksize ) ) ? $ text : $ text . str_repeat ( chr ( $ padding ) , $ padding ) ; }
Pad text to match blocksize length.

@param string $text     Unpadded text.
@param boolean $ignore  Don't pad if already at blocksize length.

@return string  Padded text.
Pad text to match blocksize length .