how to encrypt

# Thread: how to encrypt

1. jpn
Senior Member
Join Date
Dec 1969
Posts
687

## how to encrypt

Hi ,<BR><BR>I will like to encrypt a password so that the real content is not seen in the querystring.<BR><BR>Is there a ideal way where we can encrypt normal english characters to an encrypted format....is the hexadecimal conversion ideal....<BR><BR>can i get some inputs on these<BR><BR>Thanks for all your time<BR><BR>cheers<BR><BR>Jay

2. God
Senior Member
Join Date
Dec 1969
Posts
18,177

## There are a boatload..

.. of encryption routines.<BR><BR>You really need to take your pick as to which one that you want to use.<BR><BR>4guysfromrolla.com has articles on a couple of types.<BR><BR>Here&#039;s an implementation of the RC4 encryption (source code is from 4guys article):<BR>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&M=687150&P=1

3. jpn
Senior Member
Join Date
Dec 1969
Posts
687

## can we pass is ax astrix

I mean can we do some encrytpion and then pass it as an astrix(stars like what we see in the password text field)

4. God
Senior Member
Join Date
Dec 1969
Posts
18,177

## Not so much.

You have to pass the encrypted data, if you just pass stars, how could you decrypt it?<BR><BR>Taking the most simplest of encryption routines:<BR>A=1<BR>B=2<BR>C=3<BR><BR>Having:<BR>? x=312<BR><BR>You know that decrypts to "CAB".<BR><BR>But, having:<BR>?x=***<BR><BR>That could be anything and has no relationship to the encrypted value and/or the decrypted value.

5. jpn
Senior Member
Join Date
Dec 1969
Posts
687

## Bingo you are right....All I need is...

&nbsp;<BR>www.xxx.com/test.asp?id=jpn@jpn.net&PIN=rftrgh <BR><BR>in the above all i need is pin should not be shown as open text "rftrgh"...instead of that..some thing which is not what it is...something is not the same open text<BR><BR>cheers<BR><BR>Jay

6. God
Senior Member
Join Date
Dec 1969
Posts
18,177

## So...... ?

You know what you need to do?

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•