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

Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

malcolmboston wrote:since when did i mention it as a 'best programmer' contest
When you said..
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
and..
malcolmboston wrote:it takes an extra lavel of knowledge .ie insight
Once again, other posters have answered the question, and you have accused them of being wrong, and having less insight. So please, bestow upon us your insight and show us why it cannot be done.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Here's why the originally posted "encryption" can be easily broken: it's all very basic string manipulation. The encoded length is proportional to the original string. Very little real math is performed. Sure rot13, upper, lower and ucwords do some math, but barely any. There's no compression pass, nor is there a security layer holding the integrity of the encoding together. base64 encodings have a very regular appearance, it's an extremely simple string transform. Now I will agree that it isn't possible to get the exact input string due to the "destructive" nature of strtolower() and strtoupper() and ucwords() but being exactly case correct isn't important.
Post Reply