×

Discussion Board

Results 1 to 9 of 9

Hybrid View

  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    3

    Did J2ME Midlet supports encryption ?

    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

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Bouncy Castle

    Bouncy Castle have an encryption package suited for J2ME.

    shmoove

  3. #3
    Registered User
    Join Date
    Sep 2003
    Posts
    3

    I can't compile it

    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.

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    can u help in this issue
    Maybe (and I'm sure others can also help), but you need to give some more information.
    Any error messages, exception, verification errors, etc?

  5. #5
    Registered User
    Join Date
    Sep 2003
    Posts
    3

    The Errors

    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

  6. #6
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    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.

  7. #7
    Registered User
    Join Date
    Jul 2008
    Location
    Edinburgh, UK
    Posts
    1

    Re: Did J2ME Midlet supports encryption ?

    It's not 3DES, but if you want a cipher I've just released a pure Java (and J2ME) implementation of the Tiny Encryption Algorithm here :

    http://www.winterwell.com/software/TEA.php

    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).

  8. #8
    Registered User
    Join Date
    Jul 2012
    Location
    South America
    Posts
    43

    Re: Did J2ME Midlet supports encryption ?

    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:Sushmita takeyi
    ADDRESS:South korea
    AGE:35 years old

    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 !!

  9. #9
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,557

    Re: Did J2ME Midlet supports encryption ?

    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: http://www.developer.nokia.com/Commu...pting-with-PHP

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×