Page 2 of 2

Posted: Sat Apr 15, 2006 9:05 am
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.

Posted: Sat Apr 15, 2006 9:32 am
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.