DES not available error

Scott Bennett (bennett@hermes.sra.com)
Sun, 07 Sep 1997 23:33:13 -0400

Message-Id: <341371F9.777F@sra.com>
Date: Sun, 07 Sep 1997 23:33:13 -0400
From: Scott Bennett <bennett@hermes.sra.com>
To: java-security@web2.javasoft.com
Subject: DES not available error

I tried compiling and running your demo with JDK1.1.3 (and the Solaris
JIT) and
got an error:

java.security.NoSuchAlgorithmException: algorithm DES not available.
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.security.NoSuchAlgorithmException.<init>(Compiled Code)
at java.security.Security.getEngineClassName(Compiled Code)
at java.security.Security.getEngineClassName(Compiled Code)
at java.security.Security.getImpl(Compiled Code)
at java.security.KeyGenerator.getInstance(Compiled Code)
at encrypt.main(Compiled Code)

Any idea what I might have done wrong? Thanks.

Scott Bennett
bennett@sra.com