×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    2

    Encrypting data on MIDP 1.0

    Hello!!!

    I'm trying to write application with cryptography (DES and RCA) using Bouncy Castle crypto. As i read some posts here, some people use it. But I have a problem with size of application. A simple application that just generate DES key, encrypt and decrypt message have size 280k after obfuscation with retroguard v1.1. It works on my SonyEricsson, but as i know Nokia mobile phones with MIDP 1.0 support application up to 64K only.
    How did you solve this problem on Nokia phones?

    Valera

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: Encrypting data on MIDP 1.0

    You can download the source distribution and remove everything you don't want from the source code, I did that once and ended up with something around 30k.

    Daniel

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    2

    Re: Encrypting data on MIDP 1.0

    Thank!!!!
    I tried this way, but made some mistake. I'm developing and testing application on emulator in Sun ONE Studio IDE, but compiling final jar file in WTK from SonyEricsson. And it turned out, that Sun ONE Studio IDE compile only necessary classes, but WTK all ones. And i didn't check this situation. But with your tip I made cross check of "class" files produced by IDE with "java" files to be compiled in WTK and compile jar file 32000 bytes.
    Thank Daniel!

    Valera

Similar Threads

  1. suckho, i have encontered the same problems. Could you tell me how you resolved it?
    By dicson_hu in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-12-09, 10:56
  2. GPRS connection problems on 6600..
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2005-12-02, 14:00
  3. Nokia 6600 Socket Server send delay Problem
    By dicson_hu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-31, 07:37
  4. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05

Posting Permissions

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