title: Java Algorithm HmacSHA256 not available
body: <p>I am trying an encryption-decryption code in java. When I am trying to run it with JDK and code in class with main method it is running fine. But when I am trying to run same code in Tomcat, tomcat is throwing exception:</p>
  
  <p>java.security.NoSuchAlgorithmException: Algorithm HmacSHA256 not available.</p>
  
  <p>Can anybody guide me to proper direction please?</p>
  
  <p>Thank you.</p>