Obfuscating code is making the code very hard to understand for humans.

learn more… | top users | synonyms

15
votes
5answers
796 views

RTTTL Obfuscation

RTTTL, or Ring Tone Text Transfer Language is a music format that was invented by Nokia in the dawn of time when dinosaurs roamed the land. It allows for fairly crude pieces of music (no chords or ...
152
votes
201answers
28k views

The Programming Language Quiz

Congratulations to Dennis who won both the cops' and the robbers' challenge! Calvin's Hobbies has already delivered on his promise and wrote this challenge for Dennis for winning the robbers' ...
28
votes
20answers
3k views

Obfuscating text by cycling ternary digits

The goal of this challenge is the write the shortest function/program to take input text, encrypt it using the method below, and return the result. As an example, I will use the string hello world. ...
0
votes
1answer
245 views

Cycles and stuff - What does this program do? [closed]

I just found one of my first C++ programs in some deep caves on my disk... #include <cstdio> #include <cstdlib> #include <iostream> #include <sstream> #include <string> ...
69
votes
39answers
8k views

Cops and Robbers: Regex Golf

Note: This challenge is now closed. Any future cops' submission will not be considered for the accepted answer. This is to ensure that no one can post a very simple regex in the future that only ...
79
votes
15answers
6k views

Sort a list and write some English!

Your boss managed to read the secret hidden message. He didn't end up firing you, though, he just made you a secretary and forbade you from writing code. But you're a programmer. You need to write ...
15
votes
7answers
1k views

Two-Many Outputs

The Challenge I present to you another spy vs. spy challenge pitting obfuscators versus crackers. In this case, however, the datum to be protected is not an input but an output. The rules of the ...
30
votes
31answers
4k views

Lockers vs. Crackers: The Five-Element Sequence

The Challenge A simple "spy versus spy" challenge. Write a program with the following specifications: The program may be written in any language but must not exceed 512 characters (as represented ...
1
vote
3answers
567 views

Hide your hash function

So you are tasked with creating an open source password authentication system but you want to reveal as little about the implementation of the hash function as possible. Can you write a function that ...
0
votes
6answers
474 views

What time is it? (Obfuscation) [closed]

Your goal is to write an obfuscated program that displays the current time. Guidelines: The program can print local or global time. You are allowed to draw ASCII numbers, display an analog clock, ...
23
votes
31answers
6k views

Obfuscation Challenge

You are to write a program that does one of the following. Only displays "Hello World" does nothing else Quits and nothing else (no output, no errors.) Takes one line of input, parses it as an ...
66
votes
55answers
31k views

Weirdest obfuscated “Hello World!” [closed]

Task: Create an obfuscated program that prints Hello World! (exactly like that). Your program may not have any strings in it. Rules: You can use any programming language you like. Make it as ...
2
votes
1answer
606 views

Hidden easter egg [closed]

Here's a fun idea: Write a simple game (tic-tac-toe, guess the number, etc) that has an easter egg in it, that can be triggered by a specific, special input from the user and does something cool, but ...
3
votes
1answer
370 views

Manipulate destiny, fake random numbers: Be Dirty Harry

bool doYouFeelLuckyPunk, actuallyIsLucky; doYouFeelLuckyPunk = Harry.catchyPhrase(); actuallyIsLucky = Bandit.rollDice(); if(doYouFeelLuckyPunk) { Bandit.grabGun(); if(!actuallyIsLucky) ...
-1
votes
1answer
365 views

Four score and twenty. (Complete Obfuscation) [closed]

This challenge is to write a program that prints a great famous speech. Goals: Obfuscated text (you should not be able to tell what speech it prints without running it) Obfuscated code (it is more ...
0
votes
10answers
785 views

Goodbye World! (Complete Obfuscation)

A little spin on an old favorite! Have your program output in the smallest number of characters the words "Goodbye World!". Rules: No Brainfuck solutions. Every alphanumeric characters score a ...
14
votes
3answers
3k views

I'll time your function, but I don't work weekends

My boss needs to know how long it takes to add together two integers. But, I don't like to work weekends, and I think its fair that my code doesn't either. The problem is, the boss is a demanding guy ...
78
votes
55answers
11k views

-ENDED- Do something that looks like something else [closed]

Write a snippet, a function, a programm, ... that is obfuscated in a way that it looks clear at the first sight that it does something else. For example: write a bit of code that adds two number, but ...
5
votes
10answers
1k views

Eight Queens Obsfucation [closed]

You've probably heard of the classic Eight Queens Puzzle. For those of you who haven't it goes something like this: Position 8 queens on an 8×8 chessboard so that no two queens threaten each ...
-1
votes
1answer
539 views

Try to understand this java code [closed]

The students in my high school computer science class were asked to write the game of nim for a simple project. Most of them found it very easy and finished quickly. However, one student came up with ...
11
votes
18answers
896 views

JAxH obfuscated method, not text

A JAPH is a grand tradition of making a program that prints "Just another Perl hacker,". We already have a question about JAPH on this site but they seem more concerned with hiding the text, but JAPH ...
4
votes
0answers
869 views

Artistic source code: Hello World [closed]

Back to basics! Create a "Hello World" program which prints, well, "Hello World". The winner this time though, is the one who gets the most interesting source code done. For instance, use obscure ...
95
votes
90answers
25k views

Obfuscated Hello World

Create the shortest possible obfuscated program that displays the text "Hello World". In order to be considered an obfuscated program, it must meet at least two of the following requirements: ...
47
votes
37answers
10k views

Obfuscated FizzBuzz Golf

Create the shortest possible obfuscated FizzBuzz implementation. To be considered obfuscated, it should satisfy at least one of the following: Does not contain any of the words "Fizz", "Buzz", or ...
20
votes
5answers
3k views

Just Another Perl Hacker [closed]

Classic code golf challenge. Write the most obscure Perl program to print "Just another Perl hacker". Here's the Wikipedia article on it. Bonus points if it fits in 3 lines / 70 characters each.