Standard Encryption Decryption Across Different Platforms?

May 28, 2010

i need to implement a standard encryption decryption logic across an entire project platform which has different clients implemented using different platforms as follows:

iphone app (objectiv c)
website (classic asp)
webservice (asp.net)
samsung bada app (c++)


the iphone app as well as the website need to send info to webservice using encrypted query strings

the web service then decrypts this and processes the info further

wanted to know the simplest way to achieve this. is there some free and ready to use binary available with an easy to use api to achieve this?

encryption needs to be as secure as possible

edited: currently we use AES on the website and webservice front

View 2 Replies


Similar Messages:

Security :: Encryption/Decryption With CAPICOM?

Jun 9, 2010

I am trying to encrypt/decrypt a file with CAPICOM in javascript. I have to encrypt file with private key and decrypt with public key. But I dont know how to do this with CAPICOM.

View 1 Replies

Web Forms :: Encryption And Decryption Using Commands?

Mar 8, 2011

I have web.config file and it is encrypted completely and hosted in one server,Now I got one requirement to change admin person mail id. So I need to decrypt the web.config file and update the mail id then encrypt the config file again. Please tell me how to do this using aspnet_regiis -pdf commands?

View 1 Replies

Security :: Web.Config Encryption/decryption?

Mar 13, 2010

This is meant to be easy ...so ive been told, but still cant get it to work!I have a sql database hosted on a shared server which requires the use of sql authentication.As a result I require to encrypt my sensitive data in the config (connection strings etc).I understand that you can do this using aspnet_regiis etc, but ive been told that as I have no direct acccess to the server, I may need to program the encryption.
I have seen a few examples, but as a novice I have been banging away at this, looking at an errors screen most of the time!

View 18 Replies

C# - Encryption And Decryption Key Where To Store And What To Use For .net Application?

Sep 14, 2010

We are designing a .net web application that has an external and internal site.

Both sites need to encrypt data only the internal site needs to decrypt data.

We are wondering what are the best practices for:

Which encryption method to choose?
Where to store the encryption / decryption key?

View 2 Replies

C# -encryption And Decryption Connection Strings?

Mar 18, 2011

I used the following command to encrypt my connection string but an error ocurred,
"The connection name'DatabaseConnectionString1' was not found in the applications configuration or the connection string is empty" How can I encrypt it while keeping the application working? What if I move the encrypted application to another computer? Will it work?

View 1 Replies

Web Forms :: Encryption And Decryption Of URL With Query String?

Oct 15, 2010

I am passing values through query string. I want to restrict the user to modify the url to get the unauthorized permissions.I want to encrypt the url so that user can not understand and decrypt and use in the code.How can i do this.If there is any method to restrict the user to modify the url,

View 2 Replies

Security :: Encryption Decryption From A Java Generated Key?

Aug 24, 2010

I have a Triple DES Key generated by java code from a third party vendor. It is a 3 part key.

We need to use this key in our VB.NET application. When I try to combine this key and use it in my app

'Dim desTransform As ICryptoTransform = desCrypto.CreateEncryptor(EncryptKey(Key), EncryptIV(IV))' gives me an error ' Specified key is not a valid size for this algorithm)

I am new to cryptography and do not understand the algorithms well. How can I use the java generated key in our app for encrypt/decrypt.

View 3 Replies

Security :: Encryption And Decryption Codes In C# For RSA, MD5 And HMAC-SHA1 For Generated Key?

Mar 4, 2011

I want the encryption and decryption codes in C# for RSA, MD5 and HMAC-SHA1 for generated key.

View 1 Replies

Secure Socket Layer (SSL) - How It Provide The Functionality Of Encryption And Decryption Of Data

Mar 3, 2011

explain me Secure Socket Layers (SSL) and how it provide the functionality of encryption and decryption of data ?

View 1 Replies

DataSource Controls :: Algorithm For Simple Encryption And Decryption Of Field In Sql Server 2000?

Jan 2, 2010

I have to Encrypt and Decrypt Back the Password field in sql server i have used the pwdencrypt and pwdCompare() but i dont have to compare but i have to display the password back using the Decrypt technique Is there any algorithm which i can use only for encryption and decryption of password field?

View 4 Replies

Security :: Encrypted Password - Sort Of Encryption Or Decryption In Order To Verify The Credentials

Jun 16, 2010

For our website, we have decided we would like to maintain our user passwords as encrypted binary data in our database. We are using ASP.NET 3.5 to host our site and SQL Server Express 2008 for the database, both running on the same server. When a user logs in and submits a username and password, there will need to be some sort of encryption or decryption in order to verify the credentials. To me, it would appear that there are 3 ways to do this:

1)[C# Encyrption] On User creation, perform encryption in the Web App and submit the encrypted password to the database. To verify credentials at Login, perform the same encryption on the submitted password and ensure that it matches the value stored in the database.

2)[SQL Encryption] On User creation, submit the plain-text password to the database and have it perform one of the SQL encryption variants during INSERT. To verify credentials at Login, have the database perform decryption on the password during the SELECT statement, and compare the plain-text submitted password to the one in the database.

3)[Mix] On User creation, submit the plain-text password to the database, and have it perform one of the SQL encryption variants during INSERT. To verify credentials at Login, perform the same encryption algorithm used by SQL on the submitted password ( is this possible? ), and ensure that it matches the value stored in the database.

Does anybody have an opinion as to which of these options is best? Number 1) is the most familiar to me, and would be the easiest to use with LINQ to SQL ( which is our current data model ), so I am leaning towards that. But if there are better options I would love to know about them.

View 3 Replies

Security :: Encryption Algorithm - Encryption Of Data Required In The Coding?

Sep 16, 2010

Not sure if I'm posting the question in the right category.

1) I'm working in a project where encryption of data is high priority. Could some one suggest what would be the best encryption method to protect data from being cracked.

I'm using TCP/IP protocol.

2) Is HTTPS totally secured. If I'm using HTTPS, does that mean that there is no encryption of data required in the coding?

View 3 Replies

Database Encryption Or Application Level Encryption?

Oct 23, 2010

When you need to store sensitive data such as CCs or SSNs, do you:1) Build your own encryption routine within the application, define a secret key somewhere in a config file, and then manually encrypt/decrypt data going to the database.2) Push all the problem to the database, using the built in DB capabilities (I think most vendors call it Transparent Database Encryption).What trade-offs have you find for your solution? Does writing your own routine perform poorly when compared to TDE? Is code maintainability, or conversely DB vendor lock-in an issue?

View 3 Replies

Visual Studio :: Possible Running Vs 2008 Under Different Platforms?

May 19, 2010

I am taking a couple C# classes at school and I finally got VS set up on my home computer. I am having one issue that I'm not sure where to go looking.

At school, the program is installed on XP Pro.

At school, I can read, output, and create files that are saved on my hard drive. I know any code I have used is correct because I can open up the files my code creates with other applications without issue.

At home, I have the program installed on Win 7. (I just upgraded my home comp so I'm still figuring out this new platform honestly.)

At home, everything runs, etc, but it will not create files. I can see the drives working, but nothing is written. I have tried several drives - all failing.

I'm assuming this is a flag or an environment setting somewhere on my installation but I have no idea where.

View 3 Replies

Developing Rich Web Applications For Mobile Platforms (against Platform Specific Standalone Apps)?

Oct 18, 2010

I am new to mobile app development and I dont want restrict myself to one platform. Some days ago I read an article that stressed on the fact that soon web apps running on mobile browsers may replace dedicated apps (at least for non-game apps). I want to develop a social networking web app that any phone can run via the browser. These are the things I would like expert comments on:

Resources/Guidelines for developing great UIs for rich mobile web apps (HTML5?, existing APIs/Frameworks I should know)The best ways to increase performance(a reusable native simple browser app per platform that caches, provides a uniform interface to the web apps,access to sensors, APIs, features like drag drop etc for that platform.is there already one?) How do I test the apps for various major platforms and across various devices (small/large screens, touch phones etc)Best ways to manage multiple device compatibility.. (how to best handle non-uniformity of functionality on various devices/browsers on the server side using ASP.NET)

View 1 Replies

WCF / ASMX :: Signature Or Decryption Was Invalid?

Sep 27, 2010

We are using wse 2.0 sp2 and I recently installed a new webservice as windows service previously it worked fine but once I re-installed it as windows service it throws an error

The signature or decryption was invalid

Description:

An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details:

System.Web.Services.Protocols.SoapException: The signature or decryption was invalid

Source Error:

[SoapException: The signature or decryption was invalid] Microsoft.Web.Services2.Messaging.SoapClient.SendRequestResponse(String methodname, SoapEnvelope envelope)

View 1 Replies

Security :: Encyption/decryption Of Connection String?

Mar 10, 2010

I have requirement to encrypt the windows service config file and web.config connection strings, I could able to do that for web.config with aspnet_regiisC:WindowsMicrosoft.NETFramework64v2.0.50727>aspnet_regiis -pe "connectionStrings" -app "/application.ui")But I am still looking similar kind of way for windows service config file to encrypt and decrypt..exe.config file snippet as below

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>

[code]...

View 1 Replies

Configuration :: Decryption Needed For Encrypted Web.config File?

Jul 20, 2010

I have a encrpted web.config file. How to decrypt this file. Because I need to update connection string information in that file. So i need to decrypt the existing encrypted config and update the connection string then again I have to encrypt.Did not work below command. getting error(Decrypting configuration section...Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error mess
age from the provider: Bad Data.)

aspnet_regiis -pdf "connectionStrings" <physical path of the we b.config file in server>

View 1 Replies

C# - Invalid Length For A Base-64 Char Array During Decoding / Decryption?

Dec 29, 2010

Q: I face the following big problem :

from time to another i find the following exception:

Invalid length for a Base-64 char array I use encryption and decryption: public static string Encrypt(string text)

[Code]....

View 1 Replies

WCF / ASMX :: "decryption Operation Failed" Exception When Calling Web Service

Dec 20, 2010

These types of exceptions always irritate me because they are almost impossible to reproduce consistently and have almost no documentation other than the cryptic error itself to have any idea on how to fix the problem. So I have a Windows Service that makes a call to a .asmx web service over https on a polled interval every 20 minutes. Once in a great while the following exception message is returned:

Message: The underlying connection was closed: An unexpected error occurred on a receive.

Inner Message: System.IO.IOException: The decryption operation failed, see inner exception. ---> System.ComponentModel.Win32Exception:

The specified data could not be decrypted --- End of inner exception stack trace --- at
System.Net.Security._SslStream.ProcessReadErrorCode(SecurityStatus
errorCode, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest, Byte[] extraBuffer) at System.Net.Security._SslStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at
System.Net.Security._SslStream.StartFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Read(Byte[]
buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

So from reading the above message there was an error on receive and the data could not be decrypted. The does not occur consistently, so I don't have a good way of reproducing it. I also lack at low level messaging knowledge and I feel that this is the answer behind this exception; i.e. dropped packets and an incomplete message not appearing to be the same message as sent from the service or something. Any .asmx gurus out there that can give insight and possibly prevention suggestions for the above issue?

View 2 Replies

Security :: Decryption Error "Length Of The Data To Decrypt Is Invalid"

Jun 14, 2010

I am using encryption/decryption logic from the following link: [URL] Code from this page is working but at times, its throwing an error while decyption as 'Length of the data to decrypt is invalid'. I have a very limited knowledge on this topic so I am no able to troubleshoot it further

View 1 Replies

C# - Encryption Of URL In 3.5?

Dec 2, 2010

How do I encrypt the URL while navigating in asp.net 3.5 ?

View 3 Replies

Security :: No Encryption In URL?

Aug 4, 2010

I am using a Query Encryption Technique shown in Thread[URL]I am facing a problem with the above module status bar always displays real URL,& when ever i right click on page then properties than Address URL shows Real URL

View 4 Replies

Security :: AES 256 Bit Encryption?

Jul 24, 2010

I would like to use the System.Security.Cryptography to encrypt / decrypt my passwords strings for my custom membership provider login.I've read some basic article's but they don't explain much about the process in detail. I've decided to use AES because it is said to replace DES encryption. How can I encrypt and decrypt my password strings in the strongest way possible with AES? I would really like a very detailed explanation about the method to use for this task.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved