473,411 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Url Encryption/Decryption in DOT NET`

Hi all...
I am working in a Web based project......

I need to encrypt and Decrypt the Querystring ..contents ....

the Encrypted Querystring should be short enough that it accomodates
with in the Address bar......

Hoe could i do this....?

Wat algorith should i implement to Encrypt and Decrypt ... to short
string.......

Anyone Please Reply.....

Its urgent....

Thanks in Advance...
Sanjay

Oct 6 '06 #1
2 5187
You have got to question why you need to do this and look at the deisgn of
your application. The question has been asked lots of times and theres
never a really good answer to why its appropriate.

Still, as a starter I would suggest you take a look at DES encryption, as
there are javascript examples of using it, and .NET has the same algorithms
for use server side also, but there will clearly be other solutions.

Some links to help:
http://www.tero.co.uk/des/
http://support.microsoft.com/?id=307010

--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"Charles" <vc********@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Hi all...
I am working in a Web based project......

I need to encrypt and Decrypt the Querystring ..contents ....

the Encrypted Querystring should be short enough that it accomodates
with in the Address bar......

Hoe could i do this....?

Wat algorith should i implement to Encrypt and Decrypt ... to short
string.......

Anyone Please Reply.....

Its urgent....

Thanks in Advance...
Sanjay

Oct 6 '06 #2
Do you want to encrypt? You can also set up a scheme of random bits that
identify certain conditions and send that across the wire. The token sent
will fit in the address bar and can represent any number of bits of data in
your database.

If you want a short string, you have to use an algorithm that does not add
much noise. I would aim for a small block, small key and lighter weight
algorithm. It will be less secure, of course, but you can switch keys
regularly to get around people decrypting the string.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"Charles" <vc********@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Hi all...
I am working in a Web based project......

I need to encrypt and Decrypt the Querystring ..contents ....

the Encrypted Querystring should be short enough that it accomodates
with in the Address bar......

Hoe could i do this....?

Wat algorith should i implement to Encrypt and Decrypt ... to short
string.......

Anyone Please Reply.....

Its urgent....

Thanks in Advance...
Sanjay

Oct 7 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ralph Freshour | last post by:
I'm having trouble decrypting a file I encrypted and wrote to the server - the following code displays the $decrypted_string variable but the data is still encrypted - any help would be...
1
by: Jase H | last post by:
Hello, I have a ASP.NET web application problem involving the data encryption and decryption assembly(DLL) used on the connection string value that is set in the webconfig file. The problem...
2
by: Dave Bailey | last post by:
I have developed a web app using DPAPI to encrypt a connection string in the web.config file. The application works perfectly on the development machine but when deployed to the server when...
4
by: hohans | last post by:
Hi all, I have an encryption class that encrypts and decrypts password using TripleDESCryptoServiceProvider. It was written originally in framework 1.0 and been working fine. And those...
2
by: almurph | last post by:
Hi everyone, Can you help me please? I am having a problem with the encryption/decryption of words with the Irish fada in them. The Irish fada is like this: áéíóú/ÁÉÍÓÚ. It's kind of like the...
4
by: Fritjolf | last post by:
Hi. I've got a strange problem... I've made a simple program to test encryption/decryption. I use Rijndael encryption and here are the most important properties. RijndaelManaged cipher =...
3
by: =?Utf-8?B?TG9yZW4=?= | last post by:
I’m trying to encrypt and decrypt a file in vb.net. I am using the TripleDESCryptoServiceProvider encryption found in System.Security.Cryptography. Below is the code for my Encrypt and Decrypt...
5
by: Netwatcher | last post by:
well, i started messing around with dictionaries, yet, most of the pages i found about them always talk about getting only one word out of it and turning it vice versa, i've been playing with that...
9
by: Betikci Boris | last post by:
I get bored last night and wrote a script that uses xor for encrypt- decrypt, however it woks fine under linux 2.6.25, text and documents are ok, but fails on compressed files *.jpg, *.pdf , etc ....
9
by: Alan M Dunsmuir | last post by:
In my (PHP-5) application I have to write some records to a table in my database, which I don't want even my clients using the system to be able to read. This is not a problem in National...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.