how can I use ECDH for encryption in iOS? - ios

I have developed an Android app which uses 128-bit ECDH key to encrypt/decrypt data (using bouncy castle project). Now we are going to develop the same app for iOS and I am looking for ECDH library in iOS. How can I use ECDH for iOS 6.0+? Is there any implementations?

Related

BouncyCastle implematetion on iOS

I have implemented ECDSA on android using bouncyCastle with the help of this link: https://snipplr.com/view/18368/
Now I am stuck in iOS implementation as bouncyCastle doesn't support on iOS and I want to develop similar input and output relationship for digital verification module for SHA256 and particular curve.
please help.

CoreBluetooth iOS api changes: BLE 4.0 vs BLE 4.2

I am trying to get under the hood of BLE 4.2 and how this affects the product design as well as iPhone development.
A: What are the CoreBluetooth API changes to support BLE 4.2?
Has there been any?
B: How is device pairing implemented in 4.0 and how is it implemented in 4.2?
I understand that one of the main security improvements in BLE 4.2 is that it does not use the pairing key to generate a set of public/private encryption keys. However I haven't seen an example yet of this and would like to understand it a bit better.
C: Is there a security/pairing CoreBluetooth API in iOS?
Does this differ for 4.0 to 4.2 devices?

Implementing encryption in cordova application

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.

IBM Worklight - JSONStore support

Does Worklight's JSONStore feature supports BlackBerry?
I mean, can I use it while developing applications for BlackBerry?
The JSONStore feature is only available on iOS and Android devices and simulators.

Rijndael AES encryption algorithm doesn't work on BlackBerry

I am using Rijndael AES encryption algorithm in my RhoMobile Development for
Android and BlackBerry.
It is working on Android, but for BlackBerry I can't get the exact encrypted text.

Resources