BouncyCastle implematetion on iOS - 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.

Related

Msgraph-sdk-java vs Msgraph-sdk-android for Android?

Has anyone tried Android development using Microsoft Graph SDKs?
What is the preferred SDK for Android? There are two SDKs available - one for Java (msgraph-sdk-java) and one separately for Android (msgraph-sdk-android) and its very confusing to choose between two. No appropriate documentation available as well!
Sorry for the confusion Samhith. We are in the process of deprecating the Android SDK in favour of the Java SDK for Android. The docs here should have mentioned the correct configuration for using Java. That's on me to fix.
There is an example of creating a client for Android here but you are absolutely correct that the guidance is not clear.
There is a dedicated Android Authorization Prodvider that can be found here.
All future work will be in the Java SDK and we will support the Android platform via that SDK.

RedLaser configuration page closed

Last year we have bought a license of the RedLaser Barcode Scanner which is developed by Xamarin. Now we want to reconfigure our License but the Configuration Site is closed. Does some know something about it?
Thanks for help
The Red Laser SDK is no longer offered by eBay. However, Manatee Works offers RedLaser SDK Developers a free, equivalent Manatee Works Barcode Scanner SDK license for Android and iOS, with the purchase of a support package.
RedLaser was developed (I believe) by eBay. Xamarin just created bindings for it to be used in their platform.
The Red Laser SDK for developers is no longer offered by eBay. Manatee Works offers their SDK to integrate barcode scanning in your apps.
Also there is another third party , Scandit which offers the same and at a cheaper price than Manatee

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.

iOS phonegap zxing QR scanner plugin

I'm looking for a lib to use that comes with zxing QR scanning capabilities for iOS. What's the best option out there right now?
The question is slightly confusing - zxing is a QR scanning library. If you mean you are looking for an iOS port of zxing then try the Google one:
http://code.google.com/p/zxing/downloads/list
I know it looks like they're all for Android, but if you download the ZXing-1.7.zip it includes the code for multiple platforms including iOS (although the code base was a bit of a mess last time I checked).
EDIT: Sorry, didn't see the part about PhoneGap (should probably mention that in the question, not just the title). I don't know of an existing PhoneGap plugin, but you can probably write one yourself easily enough if you can get the iOS ZXing examples working.
There is an iPhone Barcode Scanner plugin for Phonegap in the phonegap-plugins github repository here. According to the readme, it uses zxing.

iOS and Windows Phone compatible encryption

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.

Resources