Dear Luggies,

I am trying to write an application which encrypts data in javascript
and decrypts them back in Java JCE. I am trying to use AES algorithm.
But, i find that the bytes don't match.

I tried the following javascript libraries

1) jses
2) slowaes

but none work with Java JCE in any mode

I am trying both ECB and CBC modes for encryption.

The encrypted output bytes from both Javascript and java JCE
mismatches. I don't understand what may be the problem or am I missing
something.

In javascript the bytes comes more than 128 but not the case in Java
JCE. I am also trying to convert the strings to UTF8 before
encryption.

Have anyone tried this. Please help me out.


Thanks and Regards,

-- 

V.Vishnu,
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to