java.security.NoSuchAlgorithmException: SHA-256 MessageDigest not available
Originally Published: 2010-07-23
Article Number
Applies To
IBM JVM 1.5
Issue
0 [main] DEBUG com.custom.security.crypto.CryptoService - Pluggable provider is initiated.
44 [main] ERROR com.custom.security.crypto.SecureHashAlgorithmProvider - SHA-256 MessageDigest not available
java.security.NoSuchAlgorithmException: SHA-256 MessageDigest not available
at sun.security.jca.GetInstance.getInstance(GetInstance.java:158)
at java.security.Security.getImpl(Security.java:691)
at java.security.MessageDigest.getInstance(MessageDigest.java:146)
at com.custom.security.crypto.SecureHashAlgorithmProvider.<init>(SecureHashAlgorithmProvider.java:67)
at com.custom.security.crypto.CryptoProvider.digest(CryptoProvider.java:55)
at com.custom.security.crypto.CryptoService.digest(CryptoService.java:74)
at samples.CryptoSample.main(CryptoSample.java:26)
SHA message digest initiation failed
Resolution
Adding the following to the java command line typically solves this issue:
-Djava.ext.dirs=*/jdk/jre/lib/ext
Related Articles
Error Facts are not available when trying to authenticate using the RSA Authentication Agent 2.0 for AD FS 136Number of Views Web agent configuration page not available after installing RSA SecurID Authentication Agent for Web for Internet Informat… 283Number of Views RSA Error "Offline Authentication is not enabled or not available" in MFA agent 532Number of Views How to generate a SQL Explain Plan in RSA Identity Governance & Lifecycle if Oracle Enterprise Manager (OEM) access is not… 276Number of Views SOFTWARE_TOKEN_NOT_AVAILABLE_IN_SYSTEM_WITH_EXP_CRITERIA Software token of the requested type is not available in your se… 133Number of Views
Trending Articles
Downloading RSA Authentication Manager license files or RSA Software token seed records Unable to login to RSA Authentication Manager Security Console as super admin RSA Authentication Manager 8.9 Release Notes (January 2026) How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Connection fails to Cloud Authentication Service when connecting through a proxy server from RSA Authentication Manager to…
Don't see what you're looking for?