Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-18-2003, 11:27 PM   #1
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Rep: Reputation: 30
proxy url encryption method - ok?

would this be a sufficient url encryption method for a proxy?

assign 37 characters (a-z + 0-9 + -) each to a different random string of numbers/letters (strlength = 10).

eg. a = 3hubf1mda7; b = l23ll22ad5a; c = 24j5m44ad4

each time the script is loaded, the values change.

they are stored as variables at the top of the script.

the URL is entered, and it gets "encrypted" by replacing the URL text with corresponding random letters/numbers

that displays on the user's browser

the real URL is decrypted and loaded - all in the same script process, the random letters/numbers are substituted for their corresponding real numbers/letters.

Old 10-19-2003, 03:00 AM   #2
Registered: Aug 2003
Location: Suprisingly in Heaven
Posts: 223

Rep: Reputation: 33
suppose a and b have the same random string[There is a remote possiblity of that....] say


then when you encounter a 3hubf1mda7 in the encryted url
what do you decrypt as ??? "a" or "b" .

Unless you are really serious abt this , it needs to be corrected.

If this is really necessary then how do you generate the different random strings i.e, a,b,c.... ??
Old 10-20-2003, 05:16 AM   #3
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Original Poster
Rep: Reputation: 30
I've considered that possibility - I figured that an if statement or similar could be used - but I'm not quite sure how it would work. I'm thinking...

It's a project of mine, nothing too serious, just tinkering about. I'm REALLY interested in encryption and want to learn as much as I can about it and eventually write my own algorithms. I think this is a nice little project.

I believe there are many random letter/number functions for Perl (language I'm using) - most probably based on time.

Last edited by mymojo; 10-20-2003 at 05:21 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 02:20 PM
Anonymous proxy with data encryption? LinuxSeeker Linux - Security 2 08-20-2005 10:21 PM
ERROR The requested URL could not be retrieved While trying to retrieve the URL: /re Niceman2005 Linux - General 1 06-29-2005 10:51 AM
How to use a proxy in URL Cornholio General 3 01-11-2005 03:40 PM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 09:47 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration