Hi All
I want to know if we can use Triple DES encyption with a J2ME midlet. And if not can any one tell me how we can do it in the Midlet applications
Printable View
Hi All
I want to know if we can use Triple DES encyption with a J2ME midlet. And if not can any one tell me how we can do it in the Midlet applications
[url=http://www.bouncycastle.org/]Bouncy Castle[/url] have an encryption package suited for J2ME.
shmoove
Hi shmoove
Thanks for support but when my add my encryption code to my midlet and try to compile it using J2ME wireless toolkit it always fail can u help in this issue.
[quote]can u help in this issue[/quote]
Maybe (and I'm sure others can also help), but you need to give some more information.
Any error messages, exception, verification errors, etc?
one of the errors listing are
DEROutputStream.java:3: cannot resolve symbol
symbol : class FilterOutputStream
location: package io
import java.io.FilterOutputStream;
It seems that its looking for these files in its classpath to compile even I put the rt.jar of the J2SE in the lib directory and also extract it to the classes directory of the project created with the J2ME wireless toolkit
It looks like you're not using the J2ME version. I have never used it so I can't tell you from my own expirience, but they should have a version that uses only J2ME classes.
It's not 3DES, but if you want a cipher I've just released a [URL="http://www.winterwell.com/software/TEA.php"]pure Java (and J2ME) implementation of the Tiny Encryption Algorithm[/URL] here :
[URL="http://www.winterwell.com/software/TEA.php"]http://www.winterwell.com/software/TEA.php[/URL]
It's released under an LGPL licence, so you can use them in commercial products (provided you make an enhancements available on the same terms).
hello sir good day !!
can you please guide me in this problem sir ??
im a j2me programmer
i have my form in my emulator named " REGISTRATION"
then it have a textfields
example
NAME:
ADDRESS:
AGE:
something like that
then i have my button " SEND "
all i want is if i click the button send
the data that inserted in that field
example
NAME:[COLOR="red"]Sushmita takeyi[/COLOR]
ADDRESS:[COLOR="red"]South korea[/COLOR]
AGE:[COLOR="red"]35 years old[/COLOR]
the high lighten color red
will be sent to the receiver but that data is secured and
it is encrypted when the receiver received it.
thanks in regard !
gpd bless !!
AnorEnaj2330, please keep the discussion in one or the other of the discussion threads where this problem of yours has already been discussed and answered for you. E.g., this one: [url]http://www.developer.nokia.com/Community/Discussion/showthread.php?47760-crypting-with-J2ME-decrypting-with-PHP[/url]
In other words, please do not keep reviving old threads with the same questions. You're not likely to get any better results that way. Your next step, instead of repeating the question, is to take the advise you've already been provided, and try it out in your application.