I'm a real noob to encryption. After breaking my head over this for a couple of days i've decided to search for help on StackOverflow.
Currently I'm developing mobile applications for iOS, Android and Windows Phone. In the application i need to request data from a server with an encrypted url. Because the application has to be for iOS, Android and Windows Phone i need to use an encryption that works on each platform. I've decided to use AES encryption with a key and an iv.
I've gotten the AES encryption to work for Windows Phone, but am really stuck on iOS. I've searched the web for a good example but haven't found anything that explained the whole proces. Could anyone help me by giving me an example (with explanation) or a good URL?
Would really appreciate the help!
Edit:
I know I want to generate an AES key based on a key and an iv. With the aes key i want to encrypt my password. The exact question is how i would do that in code.
I have used openssl for encryption between devices and platforms. There is quite of bit of documentation available and I'm pretty sure it will work for what you need.
There are also several wrappers available on github too to make encrypt/decrypting a bit easier.
OpenSSL
I've ended up using AES. This Encryption type is available for Android, iOS and Windows Phone.
For iOS and Android there are plugins available on internet to make the work easier for you. Just search for {platformname} AES and you should get enough websites.
Related
I am designing an App with phonegap and have no Idea about Macs neither do I own one. I need to develop an IOS App and it requires a certificate. I was wondering if there are websites that sell these keys or something or how to generate one without magically turning my PC to a Mac. It'll be of so much help.
It could be best if you run OSX on a Virtual Machine. You can find them on youtube just search "Sierra Windows". The reason why I recommend this is because there are other required files besides the certificate. There are the icons and logos that you'll need to put on XCode before it can actually be built and send to https://itunesconnect.apple.com/.
I'm working on a cordova based mobile application for iOS. I've user created data as JSON and images. I need to encrypt both. After googling I found that iOS itself supports data encryption but to utilize that we've to set passcode for your iphone. Is there anyway I can use the native iOS encryption for only my cordova app instead of applying to the complete mobile? If that's not possible what is best alternate way I can encrypt data and images in cordova?
iOS has a rather complete set of cryptographic functions in CommonCrypto, part of the Security framework.
You can use the AES encryption and the keychain to securely save the encryption key. There are many examples on SO. Additionally there are complete projects such as RNCryptor that can be used.
There is a cordova plugin that uses RNCryptor available here.
I want to play with screen sharing between my apple devices. I know WiFi direct is part of what supports the Airdrop feature to send files between macs and want to play around with that API.
I'll keep on searching, but was wondering if anyone has done this before or if Apple won't let you touch that API.
I'd also be happy to hear about any libraries that may be available specifically for raspberry-pi or for Linux in general.
Thanks
A friend of mine demoed an Android project he was working on the other day that utilized the AllJoyn library. AllJoyn is an open source API that supports Wifi-direct as well as other wireless protocols and is supported on Android, Linux, and iOS. It might be worth looking in to.
https://www.alljoyn.org/
I recently started working on an iPhone app which needs connection to functions of a DVR. I found out that the DVR company provides SDKs for this but only for windows and linux.
So I wanted to ask if I can adapt one of these SDKs and use it for ios. The answer may be obvious and easy but with the little experience I have I want to ask the experts if it's possible. And if it is, what can be the main obstacles generally? Will porting the linux sdk to Mac, following the Apple Developer guide, help?
I can of course provide more details about the sdk if needed.
In researching how iOS devices (iPhone/iPad/iPodTouch) are protected via encrypted I came across many articles that mentioned if a device was "jailbroken" then the built in encryption of the iOS device was essential null and void. That by jailbreaking, the default encryption could be bypassed.
Assuming this is true is there anyway to enable the encryption features of an iOS device while maintaining a Jailbreak? There are a lot of tweaks I really make use of a lot (SBSettings) and I would hate to have to give them up in order to maintain security on iOS.
Jailbreaking removes the requirement for apps to be digitally signed. Anything will run now - so yeah you need to be careful what you load on there.
It's not an encryption issue thou.