title: Using SHA-256 for CodeIgniter hashing
body: <p>CodeIgniter uses MD5 or SHA1 for its hashing:</p>
  
  <pre><code>$str = do_hash($str); // SHA1
  
  $str = do_hash($str, 'md5'); // MD5 
  </code></pre>
  
  <p><strong>But, my project requires SHA-256. How would I resolve this?</strong></p>