title: Encrypt site_id in URL show details
body: <p>I have database</p>
  
  <pre><code>site_id | site_name | site_status
  1       | site A    | 1
  2       | site B    | 1
  3       | site C    | 1
  </code></pre>
  
  <p>SiteController</p>
  
  <pre><code>public function show(site $site,$id)
  {
      $site = site::where('site_id',$id)-&gt;first();
      // return $id;
      return view('master.site.show',compact('site'));
  }
  </code></pre>
  
  <p>User.php (Model)</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Site extends Model
  {
      protected $table = "site";
      protected $primaryKey = 'site_id';
  
      protected $fillable = ['site_name','site_status','created_by','created_date'];
  }
  </code></pre>
  
  <p>Routes.</p>
  
  <pre><code>Route::get('/site_show/{id}', 'SiteController@show')-&gt;name('site_show');
  </code></pre>
  
  <p>View.</p>
  
  <pre><code>&lt;a class="btn btn-info" href="{{ route('site_show',['id'=&gt;$site-&gt;site_id]) }}"&gt;&lt;i class="fas fa-eye"&gt;&lt;/i&gt; Show&lt;/a&gt;
  </code></pre>
  
  <p>please help me step by step when I click Show button in show.blade, url will display <a href="http://localhost/myproject/public/site_show/asndlah9q8yasa" rel="nofollow noreferrer">http://localhost/myproject/public/site_show/asndlah9q8yasa</a> not <a href="http://localhost/myproject/public/site_show/2" rel="nofollow noreferrer">http://localhost/myproject/public/site_show/2</a></p>
  
  <p>Thanks a lot for your help</p>