# Re: Problem with SecureRandom call

Jan Luehe (Jan.Luehe@Eng)
Tue, 3 Feb 1998 14:21:52 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Greg Varga: "Problems signing applets..."
- Previous message: Jessica Mauvais: "Problem with SecureRandom call"
- Maybe in reply to: Jessica Mauvais: "Problem with SecureRandom call"

    Date: Tue, 3 Feb 1998 14:21:52 -0800 (PST)

    From: Jan Luehe <Jan.Luehe@Eng>

    Subject: Re: Problem with SecureRandom call

    To: java-security@web1.javasoft.com, jessicam@llnl.gov

Jessica:

> It seems to fail on the SecureRandom call. I checked my PATH, CLASSPATH.
> They point to the paths of JDK1.2, JCE12-ea-dom and my java.security
> defines as "security.provider.1=com.sun.crypto.provider.SunJCE".

Your provider configuration might be the problem.

Add the following line:

security.provider.2=sun.security.provider.Sun

You need the Sun provider, because it supplies the SHA-1 algorithm.

This will solve your problem.

Jan

- Next message: Greg Varga: "Problems signing applets..."
- Previous message: Jessica Mauvais: "Problem with SecureRandom call"
- Maybe in reply to: Jessica Mauvais: "Problem with SecureRandom call"