147

TinyBF, 708 bytes, cracked by kirbyfan64sos This was crazy fun. Everyone knows that I can only write one language ;) I,c,o,d,e,C;i;main(){i++;for(i++;i^9;i++)putchar(((i+69)*!(i+2*~0)|(9!=9+(I=((i-1)>>(i+2*~0))+~(!(i+2*~0)+~0)))*111|115*(6>i+1)*(i>3)+~(i>(10+(9>i)+~i+(i>9)))+(5<i)+(i<5)+1|(c=(i>6))|(o=(i>=7+!i))|(d=(i>&...


113

evil, 658 bytes, cracked by Sp3000 #!/sbin/fortran Hello, World = '...


98

Lua, 2920 2865 Bytes, cracked by jimmy23013 I only learned this language yesterday so forgive any syntax errors. --[[~The infamous Hello World program~]] p=[[ ...


83

TRANSCRIPT, 39 bytes End is here. >End, Hello, World! >X End Here's a nice and simple one. First safe cop! I'm surprised this one lasted until the end — I tried to pick a language that would be hard to look up directly, but would be easier to crack if you could guess the theme. TRANSCRIPT is an esolang based on interactive fiction games. It has ...


65

Python 3, size 74 (Cracked) Python just wasn't the same after being re-educated by Big Brother. Input: print(war is peace) print(freedom is slavery) print(ignorance is strength) There are two newlines at the end of lines 1 and 2. Output: True True True Note that each True is in its own line.


64

Headsecks, 637 bytes, cracked by Dennis ( say `first hello by sp3000` ) ( harp hahs ( pink shark ) ( is `chars` ) ( hash `chars` ) ( harks `snap exit crew` ) ) ( hiss ( chain crude typo ) ( hi scrap ) ( brrr yaws ) ( skips ads ) ( ship arks ) ( raps paths ) ( abs six ) ( that happy tax ) ) ) ( hairspray aspirin ( fix nappies world ) ( ...


61

???, 344 bytes, cracked by jimmy23013 Here's a hexdump of the file:​​​​​​​​​​​​​​​ 0000000: 47 49 46 38 37 61 0d 00 0d 00 85 13 00 00 00 00 GIF87a.......... 0000010: 00 00 c0 00 00 ff 00 c0 00 00 ff 00 00 c0 c0 00 ................ 0000020: ff ff c0 00 00 ff 00 00 c0 00 c0 ff 00 ff c0 c0 ................ 0000030: 00 ff ff 00 c0 c0 ff c0 ff c0 c0 ff ff ff ...


55

Malbolge, 128 bytes, cracked by KBRON111 (=&r:#o=~l4jz7g5vttbrpp^nllZjhhVfddRb`O;:('JYX#VV~jS{Ql>jMKK9IGcFaD_X]\[ZYXWVsN6L4J\[kYEhVBeScba%_M]]~IYG3Eyx5432+rpp-n+l)j'h%B0 Have fun! (Yes, I learned Malbolge just for this. Yes, it took an absurdly long time to finally get working. And yes, it was totally worth it.) Wrapped, so you can see it in its ...


52

Python 3, size 12 (Cracked) print (abcd) My program produces no output and no errors.


50

Beatnik, 114 bytes, cracked by Johannes Griebler Mit' tää kauniina kelaa? Mil tää öisin pelaa? Sun suu kauniina sanoo: Kroohhpyyh-ZZZ-ZZZZ Z Nukuttaapi kovin! It's a poem in Finnish! And a program. It prints the numbers as bytes. English translation: What does that beautiful think? What does it play at night? Your beautiful mouth says: (snoring) ZZZ ZZZ ...


49

Malbolge, Doorknob Try it online (Thanks Dennis!) Input for Windows: F_⌠1234567890 Input on Linux based system using ISO-8559-1: F_ô1234567890 The heart of how the Malbolge program worked is that it depended on a behavior of the Malbolge interpreter which causes an infinite loop if it encounters any instruction which is not between 33 and 126. The ...


41

CJam, size 20 (Cracked) Code "Stop, Hammer time!" Output 2.956177636986737


41

Treehugger, 284 bytes, cracked by Sp3000 This program will run in at least 4 languages. However, only one of them produces the correct result... /*::=a a::=~Hello bb::=~World dd::=~! ::= dbcacbd ++++++++++[>+++++++ >++++++++++>+++>+ <^^<^^<^^<^^-]>++.>+. +++++++..+++.<+++++++++++ +++++++++++++++++++++++++++++++++. ^>++.&...


40

???, 1052 bytes, cracked by Alex A. >${\.*. @.)]($| ../..<$ ])*`#]<(.#^ @:">_,;;.}_ .:])%#](~^. :/+.";.;$\:`]\ }.};.;`%..;*.] `[_#]..>`^[{"- '\/<"'/;,{<'<"'; =(`>;;.;.($(::;. >"$`$-|=_:'"+'[- >`-$'\ #"';;( <%;;.> }\;/#_ +~%#....


39

Cracked Shakespeare, 1721 bytes I tried a Shakespeare answer. It is not short, and I had difficulties to change the output with only 2 characters, but I think I succeeded quite well. Good Luck everybody. As a side note, I used the "compiler" available at this address and it may not work with another one. (it does not work with the online interpreter) The ...


38

Wake, 17 bytes ":"Hello, World!" According to the official website, Wake is a programming language which has the essences of Makefile, regular expressions, and pattern matches of functional programming languages. Wake was created by shinh and can be tested on his golf server Anarchy Golf. The code consists of a single line containing a target/label ...


34

Seed, 5861 bytes, score = 5012 / 5861 = 0.85 The sequence is primes (A000040) with offset 1. a(1) = 2, a(2) = 3, a(3) = 5 etc. 106 ...


32

CJam, size 20, by Martin Büttner Hi "petStorm!", mame Try it online. How it works Hi " int(17) "; "petStorm!", " len('petStorm!') "; ma " atan2( , ) "; me " exp( ) "; ...


32

Starry, 3039 bytes, cracked by Sp3000 Here is something to get you started. D]zL KyWp" YzCMJ i5 z Huqf sl o -L)K+ =N@ /(t?B? 2ILb Q1 et!x | # Av 70D S7? SNk C j+Ece|2< /I )2bIo*GSs| Oa71c M =JXe$b 34xD bU -hz+G V q<EW"? ui cX{3c "&Cz*H#[p 5("&+o~ogrR K.@Kjv1- XW"#57 0B_A b^"> dryK5> X uI_ WVL[ W/ aTWgC`-^2s ;~ EB V k@r! $: ~...


32

Brainfuck, 2545 bytes, cracked by Sp3000 Just for fun. # [-*- coding: latin-1 -*-] #define """ " #define \ " import sys if len(sys.argv) > 1: print """ Usage: " /*confused [options] "{input file}" Options: --version show program's version number and exit -h! --help show this help message and exit -o {file path}! --outfile=[...


30

Shuffle (written in C++), Cracked! by Martin Edit Martin cracked it. To see his solution, click the link. My solution has also been added. Edit Fixed print-d command to be able to handle both registers and stacks. As this is a debugging command which is not permitted in a solution, this should not affect anyone using the previous version of the ...


29

Basic Regex, 656813 bytes [safe!] The regex to end all regexes. One final hurrah into the night. Testable under PCRE, Perl, Python and many others. bzip2'd and base64-encoded version on Pastebin: http://pastebin.com/9kprSWBn (Pastebin didn't want the raw version because it was too big). To make sure you get the right regex, you can verify that its MD5 ...


29

Pyth, Dennis, ≤ 8 V./Tp*FN Damn that was fun - the hardest part was figuring out how to do it short enough in Pyth. Analysis The 1234 at the start hints that we're probably dealing with a list of numbers, printed without a separator. Let's try and split the numbers up in a way that makes sense: 1 2 3 4 4 6 5 8 8 9 6 12 10 12 7 16 16 18 12 15 16 8 24 20 ...


27

Fission, 67 bytes, cracked by BrainSteel Here is another one, which should be a bit simpler. class P{static void Main(){System.Console.WRite("Hello, World!");}}


26

Python 2, size 50 Cracked We already know the Answer to the Question, but what's the Question? Code print *********************--///222222222222222222 Note that there are no trailing spaces or newlines. The only whitespace character is the single space after print. Output 42 I've attempted to balance code length and difficulty, but it wouldn't ...


26

Q, 64 bytes, cracked by Mauris -1(-9!0x010000001b0000000a000d00000048656c6c6f2c20576f726c6421); Explanation: KDB+ has its own message protocol/serialization format, which can be applied to strings as such: -8!"Hello, World!" That gives us the long hexadecimal string above. The conversion, if you haven't guessed by now, is -9!. To print it out as Hello, ...


26

Logo, 14292 bytes, cracked by Gareth McCaughan make 'clean [template <class _Container> class back_insert_iterator ( protected: _Container* container; public: typedef _Container container_type; typedef output_iterator_tag iterator_category; typedef void value_type; typedef void difference_type; ...


26

Jelly, 5 bytes, score 0.8 (4 / 5) [cracked!] R²Sƽ Computes A127721. Try it online! Here's the solution: RÆḊḞ implicitly take input n R: list from [1, 2, ..., n] ÆḊ: In our case, this will actually return the square root of the sum of squares (which may be useful in future golfing)! Ḟ: floor the result. The documentation for ÆḊ reads: ÆḊ: ...


25

Python 3, size 12, by xnor ()and bciprt Does nothing (expression produces an empty tuple, which is not printed). This works due to short-circuit evaluation.


25

J, 76 bytes (safe) Code ,:|.,.<,:>><|.,:>,.<|.>,:<<|.>|.,:,.<,.<,:,.<,:>|.<,:>,.|.<,:,.|.<<,:>126$a. Original Output ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │┌─────────────────────────────────────────...


Only top voted, non community-wiki answers of a minimum length are eligible