title: Is it a good/clever idea to trick a hacker into thinking an encryption is md5, when it is not?
body: <pre><code>$clear_text = "hello";
  $salt_ = sha1("758hF4H7gJi98U6o");
  $salt = substr($salt_, 0, 12);
  $hash = substr(hash("sha512", $clear_text), 0, 20).$salt;
  </code></pre>
  
  <p>As you can see, <code>$hash</code> generates a 32 character string, making it look identical to md5. So a hacker will be trying to decrpyt this <em>md5 hash</em> when in fact it is nothing like that!
  Would this be cunning, and would it be a good idea?</p>