title: mysql check data in sha512 encryption
body: <p>I need to check data in sha512 encryption by MYSQL query and PHP</p>
  
  <p>I can do it by md5 like this :</p>
  
  <pre><code>SELECT * FROM text WHERE md5(id) = '$id'
  </code></pre>
  
  <p>But , how about in sha512?</p>
  
  <p>Regards</p>