Java Algorithm HmacSHA256 not available
- by user324929
Hi,
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:
java.security.NoSuchAlgorithmException: Algorithm HmacSHA256 not available.
Can anybody guide me to proper direction please?
Thank you.