-1

How to encrypt a data using symbian C++, so that i can decrypt the same data using java

Thanks Sunil

Sunil
  • 15
  • 1
  • 6
  • 2
    Duplicate of your own question: http://stackoverflow.com/questions/975618/how-to-create-aes-encryption-and-decryption-program-in-symbian – laalto Jun 12 '09 at 12:00
  • I know But I did not get any accurate answer. – Sunil Jun 12 '09 at 12:35
  • 2
    @Sunil: Perhaps you should clarify your old question instead of posting new ones. Asking essentially the same vague question over and over again is not how this site works. – laalto Jun 12 '09 at 13:17
  • Actually in java AES encryption is present which is not compatible with that of symbian C++. So how can i encrypt the data in java which is encrypted in symbian – Sunil Jun 13 '09 at 05:02

2 Answers2

1

You should be able to use any algorithm - it's just that the encoding will be written in C++ and the decoding in Java.

ChrisF
  • 134,786
  • 31
  • 255
  • 325
  • In Symbian C++ in AES there is only PKCS& and PKCS1Padding, also CBC is the cipher mode. But in java this is not present having all the three combinations – Sunil Jun 12 '09 at 12:20
  • I'm surprised at that really - sorry I couldn't offer anything more concrete. – ChrisF Jun 12 '09 at 12:42
-1

you can use a common encryption algorithm like Base64. which is available in both Symbian and Java. In Symbian, TImCodecB64 can be used for Base64 encryption.

Sunieal
  • 49
  • 6