title: What specific hash algorithm does MessageDigest.getInstance("SHA") return?
body: <p><code>MessageDigest.getInstance("SHA")</code> seems to work and gives me a <code>MessageDigest</code>, but I can't tell what algorithm it's giving me.</p>
  
  <p>Is it SHA-1 or SHA-0 or ..?</p>
  
  <hr>
  
  <p>I'm not interested in what happens on my machine. I want to know whether it will return sha0 or sha1 for all valid implementations of Java (or it's undefined).</p>