- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Didn't you get the memo? Unit tests are worthless wastes of time, as long as the app LOOKS functional, it's good enough. Who cares if it crashes sometimes or if it's dogshit slow?
Admin
I tried C0DEBABE, but it gave me a FILE_NOT_FOUND.
Admin
I think he may have just been tyring to CYA, but still... it was medical information.
Admin
+1 (at the very minimum)!
Admin
Admin
They may as well be to some developers. I was implementing a communications protocol to an embedded system. I was doing the embedded side, a contract house was doing the PC side (in C#, if I recall). Debugging over the phone I told the PC guy that "the next byte should be hex 0A", saying it as "hex zero ay". There was a pause on the phone and the PC guy asked, "Is that upper or lower case A?"
Admin
(relevant) http://securityreactions.tumblr.com/post/30097432723/we-use-base64-encryption
akismet, i'm not a spam
Admin
Admin
That's why he's the King of Pain.
Admin
-Harrow.
Admin
The real WTF is "encrypting" an articles ID at all. Why?
Admin
No, BASE64 is encoding BASE256 characters into 64 characters - usually used where certain characters have special meaning or will be corrupted in transit. Characters such as 0x00-0x20 and 0x7f-0xff. The 64 in BASE64 is like the 10 in Base10/decimal numbers.
ROT is an encryption algorithm (albeit pretty much the simplest one you can get) but to make it an "encoding" algorithm it requires the key.
ROT13 is good as a trivial encryption. I remember using it when chatting on usenet about tv shows and movies: you'd put spoilers in it so that the reader wouldn't be automatically be able to read it. These day forums tend to have a code that will put the text in a span with JS to reveal.
Admin
ROT13 (and ROT other numbers) are encryptions, just like American Standard Code for Information Interchange is actually an American Standard Encryption for Information Interchange with a falsified word Code instead of Encryption in its name.
Such encryptions aren't cryptographically secure, just cryptographically encrypted, using numbers to represent characters.
Just as ROT13 of a character such as 3 or & is indistinguishable from ROT0 of 3 or &, ROT13 of 99% of characters in use in the world is indistinguishable from ROT0. For example there's some key in the Windows registry where Microsoft ROT13'd all of the Italian alphabetics [A-Za-z], but the more numerous Chinese and Japanese alphabetics are ROT0'd. I don't know what secret they thought they were keeping.
Cryptographically secure encryptions depend on completely different mathematical techniques. Codes depend on non-mathematical linguistic techniques.
Admin
Admin
I like the "catch { }" part - exception swallowing is a sure tell sign that the author just didn't get it.
Admin
"Depends. Is the zero being printed in upper, or lower-case?"