From: Nunna, S. <Sul...@an...> - 2009-04-29 20:57:08
|
Hi, Below is the code am trying to execute and following that is the output of the same. I have added Cyrptix32.jar to my classpath and also added the Cryptix provider to the java.security file. ----------------------------CODE --------------------------------- for(Provider provider:Security.getProviders()) { System.out.println(provider.getName()); } MessageDigest msgD = MessageDigest.getInstance("SHA-1", "Cryptix"); -------------------------- OUTPUT ---------------------------------- IBMJSSE2 IBMJCE IBMJGSSProvider IBMCertPath IBMSASL IBMXMLCRYPTO IBMXMLEnc IBMSPNEGO Cryptix java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found at org.apache.harmony.security.fortress.Engine.getInstance(Unknown Source) at java.security.MessageDigest.getInstance(Unknown Source) at java.security.MessageDigest.getInstance(Unknown Source) at SymphonyAPIManager.main(SymphonyAPIManager.java:64) ------------------------------------------------------------------------ -------------------- Is there some thing i am missing here .Please HELP.I am a beginner with Crypto.Any help is appreciated. Thank you, su CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. |