title: OpenSSL create SHA hash from shell stdin
body: <p>How to generate the SHA-512 hash with OpenSSL from command line without using a file?</p>
  
  <p>I've tried this</p>
  
  <pre><code>echo "password" | openssl dgst -sha512
  </code></pre>
  
  <p>but the hash looks wrong (compared with <a href="http://hash.online-convert.com/sha512-generator">http://hash.online-convert.com/sha512-generator</a>).</p>