Able to be decoded?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

NCIS
Forum Newbie
Posts: 3
Joined: Fri Apr 14, 2006 4:02 pm

Able to be decoded?

Post by NCIS »

Is this able to be decoded?

Code: Select all

<? str_rot13(
base64_encode(
strtoupper(
base64_encode(
strtoupper(
str_rot13(
strtolower(
base64_encode(
str_rot13(
base64_encode(
ucwords(
str_rot13(
strtoupper(
base64_encode(
strtolower(
base64_encode(
strtoupper(
str_rot13("string"))))))))))))))))))));?>
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it's quite simple to decode.
NCIS
Forum Newbie
Posts: 3
Joined: Fri Apr 14, 2006 4:02 pm

Post by NCIS »

If you didn't know the code, would you be able to guess and figure it out?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

considering the "encryption" it wouldn't take long to figure out.
NCIS
Forum Newbie
Posts: 3
Joined: Fri Apr 14, 2006 4:02 pm

Post by NCIS »

I need it to be able to be decoded by my script.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

and?
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

feyd wrote:considering the "encryption" it wouldn't take long to figure out.
go on then....i doubt u can, u might be good, but lets see if u can decode it.............
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Ehem. If you really need something encrypted, don't bother with this.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

seriously, i wanna see someone put money where there mouth is please, original poster, post an encrypte string, i can absolutely guarantee u lot cant decrypt it


it takes an extra lavel of knowledge .ie insight
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

malcolmboston wrote:seriously, i wanna see someone put money where there mouth is please, original poster, post an encrypte string, i can absolutely guarantee u lot cant decrypt it


it takes an extra lavel of knowledge .ie insight
The original poster asked if this can be decoded, not if any of us could (although I'm sure some us probably could). The answer is yes, and it is the simple truth.

It's not neccesary that we put our money with our mouths are, although if something is willing to commit the time to run some tests or whatnot then great.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

malcolmboston wrote:seriously, i wanna see someone put money where there mouth is please, original poster, post an encrypte string, i can absolutely guarantee u lot cant decrypt it


it takes an extra lavel of knowledge .ie insight
The original poster asked if this can be decoded, not if any of us could (although I'm sure some us probably could). The answer is yes, and it is the simple truth.

It's not neccesary that we put our money with our mouths are, although if something is willing to commit the time to run some tests or whatnot then great.
i can absolutely guarantee u lot cant decrypt it
I wouldn't be so sure of that. You have no idea of my, nor the majority of our users background. :?


Edit | Thanks Feyd for letting me know my reply was quoted :roll: :oops:
Last edited by John Cartwright on Fri Apr 14, 2006 10:27 pm, edited 1 time in total.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Note that a casual observer would not be able to decode it. A dedicated attacker, however, would. True encryption would require a brute force attack on the key: they wouldn't be able to decode it any other way.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

dont say it......do it
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

malcomboston wrote: can absolutely guarantee u lot cant decrypt it
malcolmboston wrote:dont say it......do it
I'll return your challenge to you. Explain and prove why it can't be done. "Do it".

http://en.wikipedia.org/wiki/Negative_proof

The OP asked, and others answered. If you are convinced their answers are inaccurate, explain why, so everyone can learn. Thats what these forums are for - NOT for seeing who the "best" is.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

since when did i mention it as a 'best programmer' contest

obviously feyd has inside knowledge of encryption, he built the sha256 implementation which im currently using for christs sake, but still i doubt it can be decrypted if he provides an encrypted string..
Ambush Commander wrote:Note that a casual observer would not be able to decode it. A dedicated attacker, however, would. True encryption would require a brute force attack on the key: they wouldn't be able to decode it any other way.
great reply...... thats like saying though that SHA1024 is unbreakable, when in fact it is given enough super computers and time...
Post Reply