login about faq

I'm trying to encrypt a string on iOS using 3des and then encrypt the key & iv from that using RSA (with a provided public key) which will then get decrypted in .NET. It doesn't seem to be working, is there a guide somewhere for what kind of configurations/settings I have to pay attention to so the result works in .NET?

asked Oct 23 '13 at 04:07

pixelfreak's gravatar image


Which part is causing the trouble -- the RSA or the underlying symmetric encryption?


answered Oct 23 '13 at 09:40

chilkat's gravatar image

chilkat ♦♦

The .NET application that takes the encrypted string is giving me error after decrypting the string (it's complaining that the content of the string isn't what it should be). This app is a black box so I can't really tell if it's the encryption is at fault or if I am not sending the right data. I want to rule out the encryption part. So is there any settings I should pay attention to? For example: I read somewhere that littleEndian should be set to NO. .NET Framework version is 4.x

(Oct 23 '13 at 12:41) pixelfreak

@chilkat I have narrowed down the issue to RSA. The resulting encrypted string is totally different from what a .NET app outputs. The 3DES part is fine.

(Oct 23 '13 at 20:37) pixelfreak
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 23 '13 at 04:07

Seen: 2,716 times

Last updated: Oct 23 '13 at 20:37

powered by OSQA