Hi Experts,
How do i start with Encryption in J2ME. Do we have TEA(Tiny Encryption Algorithm) in J2ME. Where could i found the library to use in my J2ME Application.
Please do reply. Just waiting for the respone.
Hi Experts,
How do i start with Encryption in J2ME. Do we have TEA(Tiny Encryption Algorithm) in J2ME. Where could i found the library to use in my J2ME Application.
Please do reply. Just waiting for the respone.
Regards
Rajan Verma
You can try using DES from JSR 177, refer to http://wiki.forum.nokia.com/index.ph..._using_JSR-177
See also Bouncy Castle: http://www.bouncycastle.org/java.html
hello guys good day !!
can you give me some idea on how to encrypt messages using j2me ..
please help me guys ..
standard encrypter in j2me
thanks in regard
*call me jana*
See (again, as you've already been there): http://www.developer.nokia.com/Commu...l=1#post757050
thanks for replying, I have to send the data to the mysql database at server end. Before sending the data i have to encrypt it. and before saving to the database i have to decrypt the data. And vice versa for recieving the data to the mobile.
I want to know which one is better option DES or BouncyCastle Algorithm. Need an urgent reply.
Thanks in advance.
Regards
Rajan Verma
One more question I have also used RMS in my application . The data stored in RMS is in encrypted form, is this true....or should i save the data to the local database in encrypted form.
Please Reply.
Regards
Rajan Verma
I typed "tiny encryption algorithm java" into Google... the top hit in the results was: Java/J2ME Trivial Encryption Algorithm (TEA) implementation.
Unlikely, unless you encrypt it. Nothing in the specification requires the device to encrypt RMS data for you.
Graham.
I want to send data to the mysql server at server end using web service. Which algorithm should i use : DES or BouncyCastle
Please Reply.
Regards
Rajan Verma
You can use either one of the algorithms. Both will work, as long as both the client and server are using them correctly.
Depending on the case, using HTTPS will also encrypt the data without any programming needed from your side (if your server has the correct certificate for HTTPS/SSL).
Thanks petrib.
According to the above discussion. I have used DES Encryption algo and send the data to the server in encrypted form and also sent the number of bytes recieved from doFinal() method to the web service. But i'm not able to recieve any response from the other end.
Please reply.
Regards
Rajan Verma
Is the "other end" also under your control? If so, check the "other end" that it is actually receiving the data, and then really sending something back to the client (if the server is not responding with anything, then there's of course nothing that the client can/will see/receive).
So, are you on the server side sending the response? How? As a response to a HTTP request? Or through some other means? If so, what/how? Any errors in the code? Can you post the relevant pieces of code in case someone spots mistakes there? If you do, use the CODE tags so that the formatting remains readable.
I am using JSR -172 Web service api and sending the data to the webservice in encrypted form. But from the server end i am not getting any response.
One more thing, When i am sending the encrypted bytes to the webservice the application returns nothing or even closes sometimes. But when i am sending the encrypted string (converted encrypted bytes to string using new String(bytes,0,bytes.length)i am getting the null.
At the server side i am also decrypting the data .
Regards
Rajan Verma