Date: Wed, 07 Apr 1999 14:51:35 -0700
From: Sean Carr <scarr@ucsd.edu>
To: java-security@java.sun.com
Subject: bug?
Hi,
I'm using JCE1.2 and JDK1.2.1 on Windows NT Workstation 4.0
MessageDigest md = MessageDigest.getInstance("MD5");
md.update(input_text.getBytes(),0,input_text.length()); // no problem
BUT, the KeyGenerators throw exceptions
KeyGenerator generator = KeyGenerator.getInstance("DES"); // and
KeyGenerator generator = KeyGenerator.getInstance("RSA");
// throw java.security.NoSuchAlgorithmException: Algorithm DES
not available
Can I assume that JCE and JDK1.2.1 are configured properly if MD5 works?
Or is it possible that the path or classpath are incomplete?
thanks,
Sean