[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-jce] Problems with RC4



Hi all,
I don't get build an EnvelopedData object with this way

   String datastr = new String("Hola pepito ...");
   byte[] data = datastr.getBytes ();
   EnvelopedData envdata = new EnvelopedData(data, AlgorithmID.rc4);

get this exception
    java.lang.ArrayIndexOutOfBoundsException

Can anyone help?
Thanks in advance.

Félix



--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-jce