1

I have a file which is AES128 encrypted coming from Java server into my application. I need to decrypt these files using AES128 decryption in my application. Any suggestions on how to go about this? Any libraries/algorithms supporting decryption of files and content on IOS - and - encryption on the server-side (JAVA).

I would also like to know all types of encryptions that can be decrypted on IOS

Thanks in advance.

rook
  • 66,304
  • 38
  • 162
  • 239
Pranav Jaiswal
  • 3,752
  • 3
  • 32
  • 50
  • 1
    http://stackoverflow.com/questions/2774239/help-for-aes-128-bit-algorithm-i-want-to-encrypt-it – Marek Sebera Aug 29 '11 at 15:45
  • 1
    What? Where are you going to put the key? Why are you trying to encrypt this information? – rook Aug 29 '11 at 20:44
  • @Rook I've audios, videos & images that come encrypted into my app from java server. All the assets(A,V,I) will have same key associated with them. Am i clear now, Rook? – Pranav Jaiswal Aug 30 '11 at 05:50
  • @Pranav OK so then send them plain text? An attacker has more control over the device than you do, there is no place to keep a secret on the device there for encryption is completely useless to you. – rook Aug 30 '11 at 05:53
  • @rook Not Clear can you plz explain more clearly. – Pranav Jaiswal Aug 30 '11 at 06:03
  • @Pranav I'm sorry this is so obvious. If you put your secret key in the binary it can be decompiled and then the attacker can decrypt your files. This is not a problem that cryptography can solve, period end of story. This is a problem with your business model. – rook Aug 30 '11 at 16:22

0 Answers0