# ip adres decryption PHP

**URL:** <https://www.phphelp.com/t/ip-adres-decryption-php/22443>\
**Category:** Security and PHP\
**Created:** [April 2, 2014, 11:58am UTC](https://www.phphelp.com/t/ip-adres-decryption-php/22443 "2014-04-02T11:58:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Squashing](https://www.phphelp.com/letter_avatar_proxy/v4/letter/s/76d3ee/32.png) [@Squashing](https://www.phphelp.com/u/Squashing)\
**Post date:** [April 2, 2014, 11:58am UTC](https://www.phphelp.com/t/ip-adres-decryption-php/22443/1 "2014-04-02T11:58:34Z")

</div>

Hello,

I once saw someone that decrypted an IP on the source to an decrypt to this: 272HSh2jkahswyqa

Does someone know how they did it. I would like have it for my game server.

[php]var flashvars = {

“client.allow.cross.domain” : “1”,  
“client.notify.cross.domain” : “0”,  
“connection.info.host” : “81.169.162.45”, // this IP need to be secued and decrypted  
“connection.info.port” : “30000”,  
“site.url” : “\<?php echo $path; ?\>”,

[/php]

i would like to change the IP to a random number/letters but my server needs still able to connect with the host

---

<div class="post-metadata">

**Author:** ![JimL](https://www.phphelp.com/user_avatar/www.phphelp.com/jiml/32/1842_2.png) [@JimL](https://www.phphelp.com/u/JimL)\
**Post date:** [April 2, 2014, 2:02pm UTC](https://www.phphelp.com/t/ip-adres-decryption-php/22443/2 "2014-04-02T14:02:40Z")

</div>

An IP address, as the name implies, is just an address. It’s not encrypted so you can’t decrypt it.

---

<div class="post-metadata">

**Author:** ![mrterryh](https://www.phphelp.com/user_avatar/www.phphelp.com/mrterryh/32/477_2.png) [@mrterryh](https://www.phphelp.com/u/mrterryh)\
**Post date:** [May 28, 2014, 2:25am UTC](https://www.phphelp.com/t/ip-adres-decryption-php/22443/3 "2014-05-28T02:25:52Z")

</div>

As the guy above me said, an IP address is just a string. There’s nothing to decrypt.

---

<div class="post-metadata">

**Author:** ![ErnieAlex](https://www.phphelp.com/letter_avatar_proxy/v4/letter/e/bc8723/32.png) [@ErnieAlex](https://www.phphelp.com/u/ErnieAlex)\
**Post date:** [May 28, 2014, 2:50am UTC](https://www.phphelp.com/t/ip-adres-decryption-php/22443/4 "2014-05-28T02:50:49Z")

</div>

Yes, Squashing, there are several ways to use encrypted IP’s in your type of routines.  
This is used so that people can not see the IP address when they right-click on your page  
and VIEW-SOURCE. This is only a problem if you are using Javascript or JQuery or AJax as  
they are BROWSER-SIDE code systems and anyone can see the code.

So, the problem is that you are attempting to use a Flash plugin. This Flash plugin would need  
to be coded to read the encrypted IP address and know how to change it back. Quite often it  
will be simple encryption or even just a hash of some sort.

But, your problem is that you need to be able to know what YOUR flash plugin program options  
are to figure out how to protect your IP address. You would have to research your plugin further.

Hope that helps.
