title: md5 encryption decryption
body: <p>I have a field in my database table with the name download_key. It is saved normally in the table no encryption is done. I am sending this key as hidden value in the form. If someone right click on the page and view the source of page the key is visible. Is it possible to encrypt it in the view only? I am also comparing the hidden value of the key with the one stored in database.</p>
  
  <p>Some code</p>
  
  <p>Controller</p>
  
  <pre><code>$query = $this-&gt;db-&gt;get_where('mc_boxes', array('idmc_boxes' =&gt; $id));
  $row = $query-&gt;row();
  $data['download_key'] = strtolower($row-&gt;downloadkey);
  </code></pre>
  
  <p>Inside my view </p>
  
  <pre><code>&lt;form name="form" method="post" onsubmit="return validateForm('&lt;?php echo $download_key ?&gt;')"&gt; 
      &lt;input type="hidden" name="key" value="&lt;?php echo $download_key ?&gt;" /&gt;
  &lt;/form&gt;
  </code></pre>