×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    159

    how encrypte and decrypte data in java me

    i am working on nokia asha1.1 using lwuit 1.5 .Now my requirment is encrypt some string data and send it on server using json post mehtod .Then encrypted data have to decrypte on php side. so please help me which type of encryption i am to use .I don't know about any thing about encryption and decription .
    so please suggest me any link which will help me complete this task

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: how encrypte and decrypte data in java me

    If you search for Java ME encryption libraries, you will most likely find Bouncy Castle, https://www.bouncycastle.org/

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    686

    Re: how encrypte and decrypte data in java me

    Well the type of encryption you need to use depends on your system & project requirements and not based on our suggestions.
    If you want to see an example on how to perform a simple encryption & decryption of a string using symmetric algorithm then you can check out my old wiki example
    http://developer.nokia.com/community..._using_JSR-177

    If you need stronger & safer encryption I would suggest using asymmetric algorithm such as RSA.
    Heard of DVLUP? Join here

  4. #4
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Hamburg, Germany
    Posts
    284

    Re: how encrypte and decrypte data in java me

    Quote Originally Posted by vikranttanwar@ View Post
    .Now my requirment is encrypt some string data and send it on server using json post method .Then encrypted data have to decrypte on php side.
    If this is all, then implement SSL on the server, and send your data with https. The https protocol will encrypt the data for you.

    Regards

    Karsten Meier

Similar Threads

  1. GPS data from my mobil via php / java
    By uisbln in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2010-10-12, 11:53
  2. Persistent Data and Java and C++
    By dharmeshkhatri in forum Symbian
    Replies: 8
    Last Post: 2010-04-26, 13:48
  3. How to use java modify phonebook data???
    By jay0011 in forum Mobile Java General
    Replies: 2
    Last Post: 2007-07-05, 13:40
  4. Data Storage in Java
    By MananW in forum Mobile Java General
    Replies: 5
    Last Post: 2006-05-17, 09:50
  5. Java, 7210 and a data cable.
    By Smile005 in forum Mobile Java General
    Replies: 6
    Last Post: 2003-07-31, 17:19

Posting Permissions

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