# Re: bug?

Jan Luehe (Jan.Luehe@eng.sun.com)
Thu, 8 Apr 1999 09:42:36 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Kritchai Kuntakom: "q about applet security"
- Previous message: Research: "Documentation"

    Date: Thu, 8 Apr 1999 09:42:36 -0700 (PDT)

    From: Jan Luehe <Jan.Luehe@eng.sun.com>

    Subject: Re: bug?

    To: Sean Carr <scarr@ucsd.edu>

    In-Reply-To: "Your message with ID" <370BD366.897ACB46@ucsd.edu>

Sean:

Your question (and the answer to it) have been added to the JCE FAQ list.

Please refer to

http://java.sun.com/products/jce/jce12_faq.html

Jan

> 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
>
>

- Next message: Kritchai Kuntakom: "q about applet security"
- Previous message: Research: "Documentation"