public function decode($decrypted)
    {
        $pad = ord(substr($decrypted, -1));

        if ($pad < 1 || $pad > $this->blockSize) {
            $pad = 0;
        }

        return substr($decrypted, 0, (strlen($decrypted) - $pad));
    }
public function decode($decrypted)
    {
        $pad = ord(substr($decrypted, -1));

        if ($pad < 1 || $pad > $this->blockSize) {
            $pad = 0;
        }

        return substr($decrypted, 0, (strlen($decrypted) - $pad));
    }
public function decode ( $ decrypted ) { $ pad = ord ( substr ( $ decrypted , - 1 ) ) ; if ( $ pad < 1 || $ pad > $ this -> blockSize ) { $ pad = 0 ; } return substr ( $ decrypted , 0 , ( strlen ( $ decrypted ) - $ pad ) ) ; }
Decode string.

@param string $decrypted

@return string
Decode string .