• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Java encryption to iPhone

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know this isn't a Mac/iPhone forum but since half of my problem lies in the Java world, I figure I might try here. I'll also be posting on Mac forums.

What I am looking for, is a way to encrypt a file using Java code, and then be able to put the file onto an iPhone and decrypt it there. I would also like to go the opposite way, but I assume if I can go one way, the other should be trivial. The file will be xml, but I'm not sure if that matters. Which, if any, of the Java encyption algorithms/methods can/should I use, that would make a file that could be decrypted on an iPhone.

I am quite familiar with Java, and have worked with Java encryption before, but I am totally new to iPhone development, and am by no mean a security and encryption expert. Any pointers in the right direction would be appreciated.
 
Sheriff
Posts: 22816
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Victor Ewert wrote:I know this isn't a Mac/iPhone forum


iPhone
That's also where this thread is going.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
https://developer.apple.com/iphone/library/samplecode/CryptoExercise/index.html
 
Victor Ewert
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rob Prime wrote:

Victor Ewert wrote:I know this isn't a Mac/iPhone forum


iPhone
That's also where this thread is going.


Who'd of thunk there was a dedicated iPhone forum at Javaranch.
Thanks for fixing that up.
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic