# Problems with running demo programs of JCE

Coimbatore J Srinivas (coimb_t@cs.odu.edu)
Wed, 12 Nov 1997 18:48:36 -0500

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Charlie Lai: "Re: Query on Applet security"
- Previous message: Tim Tyhurst: "Java Security Q&A Archive"

    Date: Wed, 12 Nov 1997 18:48:36 -0500

    From: Coimbatore J Srinivas <coimb_t@cs.odu.edu>

    To: java-security@web2.javasoft.com

    Subject: Problems with running demo programs of JCE

Hi,

I recently installed JCE and tried to get the demo programs to work.
I set the CLASSPATH to jdk1.1.4's classes.zip and also to JCE's jce.zip.

My problem is this:

The encrypt.java program compiles fine. However, when I run it, it gives
me the following error:

java.security.NoSuchAlgorithmException: algorithm DES not available.
at java.security.Security.getEngineClassName(Security.java)
at java.security.Security.getEngineClassName(Security.java)
at java.security.Security.getImpl(Security.java)
at java.security.KeyGenerator.getInstance(KeyGenerator.java:91)
at encrypt.main(encrypt.java:55)

Could you please help. I did not alter files after downloading JDK or
JCE. Do i need to make any changes? Any help is very appreciated.

Thank You.

Sincerely,
-Chethana

- Next message: Charlie Lai: "Re: Query on Applet security"
- Previous message: Tim Tyhurst: "Java Security Q&A Archive"