title: Encrypted parameter in URL using CodeIgniter
body: <p>Hi I am making an app using CodeIgniter.</p>
  
  <p>I want to encrypt the numeric id into an encrypted string.</p>
  
  <p>from</p>
  
  <p><a href="http://example.com/post/6" rel="nofollow">http://example.com/post/6</a></p>
  
  <p>to</p>
  
  <p><a href="http://example.com/post/v4th54u654khi3f23of23ir2h398eh2xi012" rel="nofollow">http://example.com/post/v4th54u654khi3f23of23ir2h398eh2xi012</a></p>
  
  <p>I tried the built-in Encryption lib</p>
  
  <p>$this->encrypt->encode(6)</p>
  
  <p>but it generates different encrypted strings for each page load, this is not what I want, I want permalink just like Youtube video ID.</p>
  
  <p>I need the encrypted string also decryptedable.</p>