title: Calculating SHA 3 Hash in Java
body: <p>I have been using CryptoJS (i.e. <code>CryptoJS.algo.SHA3.creat()</code>) library to SHA-3 hash on the front end. (see <a href="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha3.js">http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha3.js</a>)</p>
  
  <p>I was wondering if there are any Java library equivalence? But so far I haven't found any. There are not so many Java SHA-3 examples either. </p>
  
  <p><code>sun.security.Provider</code> has SHA-3, but it's not visible under Eclipse. Also, I am not sure whether this sun's SHA-3 is same as the CryptoJS's SHA-3. </p>
  
  <p>Could anyone please provide some examples?</p>