Unstoppable Domains — Get your daily AI drops report

Looking someone that knows Javascript REALLY well...

SpaceshipSpaceship
Watch

axilant

Account Closed
Impact
28
I have a php project im doing on my spare time, a CMS and im looking for someone that can make a javascript that can decrypt some php output with a equation i use in php, and instead of printing the content the javascript will print the value of the encryption. The reason i want to do this is cause people dont like spiders crawling for email addresses and this way it will be impossible for a spider unless they can decrypt it. Which i know wouldnt take much but i mean... yea it would be able to be toggled on/off depending on the CMS administrator. I HATE SPAMMERS!!!!

if you are intrested please let me know, this CMS will not be a free script, and if you help me with this part i will give you a reseller of this script as payment!

look in my profile for ways to contact me IM or pm me!!

Cody Selzer

I know this can be done.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Sure it can be done, I've done this many times. It really just depends on your algorithm and how you are going to pass it to the js. Perhaps post a few more details so people have a better idea of the scope of the job.
 
0
•••
yea your right ;P heres the code:

PHP:
function encrypt($string, $key)
	{
		for($i=1; $i<=strlen($string); $i++)
		{
			$char = substr($string, $i-1, 1);
			$keychar = substr($key, ($i % strlen($key))-1, 1);
			$char = chr(ord($char)+ord($keychar));
			$result=$char;
		}
		return $result;
	}

	function decrypt($string, $key)
	{
		for($i=1; $i<=strlen($string); $i++)
		{
			$char = substr($string, $i-1, 1);
			$keychar = substr($key, ($i % strlen($key))-1, 1);
			$char = chr(ord($char)-ord($keychar));
			$result=$char;
		}
		return $result;
	}

If this one will not work, i can always make a new one... Please post comments!!!
 
0
•••
That's straight forward enough. What I'd do is put the decrypt function into your header as JS. Then encode the address in PHP and write out something like this:

<script> document.write( mydecrypt( “[endoded data here], ”[key here]” ) </script>

Can't get much easier than that.
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back