Java Algorithm HmacSHA256 not available

Posted by user324929 on Stack Overflow See other posts from Stack Overflow or by user324929
Published on 2010-04-24T14:00:09Z Indexed on 2010/04/24 14:03 UTC
Read the original article Hit count: 472

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about java

Related posts about algorithm