Encryption and decryption in mobile and .net web services

I made the implementation of a mobile application on Android, webos, blackberry, iphone.

I am now integrating the project with .net web services.

while the exchange data I need to encrypt in the mobile platform and decrypt in .net webservices

which is the best encryption algorithm I've tried on the internet and got zero.

Please suggest me. If you share some sample code. You will save me a lot.

Thanks in advance

Mahesh

+7
android iphone web-services blackberry
source share
3 answers

I suggest you use something approved by NIST, such as Rijndael or AesManaged encryption in combination with the password-based output encryption method (PBKDF2).

Also make sure that you use at least 256-bit key ciphers (NIST is approved for storing and transmitting sensitive information). You may also want to use the tokenization of your sensitive content with truly random tokens (never based on cryptographic tokens).

AES implementation is an industry standard, and you can find many implementations for each client platform on the Internet. An important aspect is that your server can decrypt the encrypted information sent by clients. Because you use the .NET web services, you can explore the System.Security.Cryptography namespace and, in particular, the AesManaged and RinjndaelManaged class .

Here are a few implementations in different languages:
AES for Java and C #
AES for Objective-C and PHP

+2
source share

Not sure about other platforms, but the blackberry goes out of the box with full cryptographic APIS.

http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/crypto/package-summary.html

0
source share

Your web service must be hosted on some kind of web server. Configure it on HTTPS, not HTTP, and the connection to your web service will be encrypted.

Best wishes,
Oliver Hanappi

0
source share

All Articles