LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-18-2003, 10:27 PM   #1
mymojo
Member
 
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.

comments?
 
Old 10-19-2003, 02:00 AM   #2
SaTaN
Member
 
Registered: Aug 2003
Location: Suprisingly in Heaven
Posts: 223

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

a=3hubf1mda7
b=3hubf1mda7

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, 04:16 AM   #3
mymojo
Member
 
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 04:21 AM.
 
  


Reply


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 01:20 PM
Anonymous proxy with data encryption? LinuxSeeker Linux - Security 2 08-20-2005 09:21 PM
ERROR The requested URL could not be retrieved While trying to retrieve the URL: /re Niceman2005 Linux - General 1 06-29-2005 09:51 AM
How to use a proxy in URL Cornholio General 3 01-11-2005 02:40 PM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 08:47 PM


All times are GMT -5. The time now is 05:32 PM.

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