Hi,
 
    Thank you Luciano for your answer. I think it's right that my applet doesn't work because there aren't the cryptographic classes in Netscape.
When i execute:   mess = MessageDigest.getInstance("qualsiasi algoritmo Digest");
Netscape thows this error:        # Security Exception: checkpropsaccess.key
 
    But what can i do? How can i crypt some information when there aren't crytographic modules in Netscape. I wouldn't like to load some aditional module because my applet needs to work in every browser.
Do you know how can i do this? If you have some address with examples, send it to me, please.
Thank you,
 
    Carlos Navarro
 
-----Mensaje original-----
De:
Luciano da Silva Coelho <[EMAIL PROTECTED]>
Para: Carlos Navarro Bernab� <[EMAIL PROTECTED]>
Fecha: lunes 20 de septiembre de 1999 19:51
Asunto: Re: MessageDigest thows SecurityException

The problem is that Netscape doesn't contain the classes which are the implementations of one-way hash algorithms such as MD5 e SHA1. The implementatios, that you are testing in your standalone program using de JDK, is part of the SUN's JCA implementation. Could you send me the error message.
 
[ ]'s
Luciano da Silva Coelho 
e-Sec Tecnologia em Seguranca de Dados LTDA. 
-----Mensagem original-----
De: Carlos Navarro Bernab� <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Data: Domingo, 19 de Setembro de 1999 09:03
Assunto: MessageDigest thows SecurityException

Hi,

    In an applet code, I tryed to use MessageDigest to crypt some
information. However i got a SecurityException.key. I couldn't solve it
using the system IdentityScope since i can't read/write it. I'm not sure i'm
doing right... please, tell me if i'm wrong... i think i need to use
MessageDigest for crypting using default algorithms... but... how can i do
it without thowing a SecurityException? (i'm using Netscape browser)

Thanks,

    Carlos Navarro

Reply via email to