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

learn more… | top users | synonyms

140
votes
190answers
23k views

The Programming Language Quiz

Notice: This challenge will close for further cop answers on 01/09/2015, 00:00:00 UTC. Any answers posted after that time will not be eligible for winning and will not be included in the ...
27
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
230 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> ...
65
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 ...
72
votes
13answers
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
527 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
450 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 ...
55
votes
48answers
23k views

Weirdest obfuscated “Hello World!”

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
403 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
355 views

Manipulate destiny, fake random numbers: Be Dirty Harry

bool doYouFeelLuckyPunk, actuallyIsLucky; doYouFeelLuckyPunk = Harry.catchyPhrase(); actuallyIsLucky = Bandit.rollDice(); if(doYouFeelLuckyPunk) { Bandit.grabGun(); if(!actuallyIsLucky) ...
0
votes
1answer
301 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 ...
-1
votes
10answers
727 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 ...
-3
votes
2answers
294 views

Decode obfuscated Hello world [closed]

In the following string (number), there is an hidden message, the goal of this is to find how this message is encoded write the shortest code that permit to retrieve the original message. The only ...
13
votes
3answers
2k 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 ...
76
votes
55answers
10k views

-ENDED- Do something that looks like something else

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 ...
4
votes
9answers
928 views

Eight Queens Obsfucation

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
511 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
851 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
836 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 ...
85
votes
86answers
22k 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: ...
38
votes
34answers
8k 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 ...
18
votes
5answers
2k views

Just Another Perl Hacker

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.