protected function encrypt($value = null, $salt = '')
    {
        return $this->hasher($salt)->encode($this->findValueToSlug($value));
    }
protected function encrypt($value = null, $salt = '')
    {
        return $this->hasher($salt)->encode($this->findValueToSlug($value));
    }
protected function encrypt ( $ value = null , $ salt = '' ) { return $ this -> hasher ( $ salt ) -> encode ( $ this -> findValueToSlug ( $ value ) ) ; }
Encrypt the value

@param string|int $value
@param string $salt

@return string
Encrypt the value