Questions tagged [obfuscation]

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

-2
votes
0answers
72 views

Obfuscate the “Hello, world!” program [duplicate]

Create a "Hello, world!" program which is heavily obfuscated. You can use whichever language you want, so long as it has a common "Hello, world!" program which is clearly identifiable as a "Hello, ...
36
votes
17answers
3k views

Overlapping Polyglots

Unlike many C&R challenges, this does not require a separate robbers post; the goal of the robbers is to crack the previous answer and then post a new one as a cop. As answerers, you will write a ...
29
votes
126answers
9k views

The Programming Language Quiz, Mark II - Robbers

Cops challenge The Robbers' Challenge Find a vulnerable answer. That is, an answer which hasn't been cracked yet and which isn't safe yet either. Crack it by figuring out its language. That is, find ...
61
votes
161answers
14k views

The Programming Language Quiz, Mark II - Cops

A repost of this challenge. Meta discussion. Sandbox post. Body of the question similar to the original Robber's challenge This cops and robbers is now (08/03/2018) closed to further competing cop ...
9
votes
14answers
692 views

Cops and Robbers: Redacted Primality (Robbers' Thread)

This is the robbers' thread. The cops' thread is here. Your challenge is to take an uncracked submission from the cops' thread and try to find the original unredacted program. Please comment on the ...
19
votes
29answers
2k views

Cops and Robbers: Redacted Primality (Cops' Thread)

This challenge was originally sandboxed by Magic Octopus Urn; I adopted and posted it with his permission. This is the cops' thread. The robbers' thread is here. The challenge Step One: Write a ...
6
votes
6answers
526 views

The greedy regex (cops)

This is the cops' post. The robbers' is here. You make a program and a regex. For most inputs, one of the following happens: the regex doesn't match, and the program returns a falsey value the ...
18
votes
17answers
1k views

PPCG Jeopardy: Robbers

How well do you know the site? Let's find out. This is a cops-and-robbers challenge. Cop's thread. As a robber, you need to: Find a non-deleted, non-closed challenge that matches a cop's ...
45
votes
35answers
2k views

PPCG Jeopardy: Cops

How well do you know the site? Let's find out. This is a cops-and-robbers challenge. Robber's thread. As a cop, you need to: Find a non-deleted, non-closed challenge on this site to answer. The ...
1
vote
12answers
1k views

Proving you are the best StackExchange-User [closed]

Write one/two program(s)/function(s): The first one should return a truthy value if given your Stack Exchange username. ~~Optional~~ An obfuscated one (as explained below) that does the same thing. ...
15
votes
5answers
1k 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 ...
184
votes
204answers
39k 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 ...
0
votes
1answer
306 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... ...
76
votes
40answers
10k views

Cops and Robbers: Reverse 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 ...
97
votes
20answers
8k 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 ...
17
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 ...
31
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
votes
3answers
649 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 ...
1
vote
6answers
522 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, etc....
24
votes
32answers
7k views

Obfuscation Challenge [closed]

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
67k 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 ...
2
votes
1answer
1k 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
437 views
-1
votes
1answer
462 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 ...
-3
votes
15answers
1k views

Goodbye World! (Complete Obfuscation) [closed]

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 ...
16
votes
3answers
6k 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
13k 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
2k 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 ...
-2
votes
1answer
610 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 ...
12
votes
22answers
1k views

JAxH obfuscated method, not text [closed]

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 ...
5
votes
0answers
1k 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 ...
122
votes
121answers
36k 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: Does ...
50
votes
41answers
15k views

Obfuscated FizzBuzz Golf [closed]

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 "...
22
votes
5answers
4k 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.