22
2
This is the cops' thread. For the robbers' thread, click here.
Cops' Task
- First, write a quine in a language of your choosing.
- Next, scramble the quine. Make sure to do this well as the robbers will be trying to unscramble it and find the original source code! Note that the scrambled code does not need to work.
- Post an answer on this thread. Include the language, the byte count, and the scrambled code.
Your program may not print to STDERR.
Here is an example of a cop submission:
Python, 29 bytes
nt _%=_r;_riinp;pr_='t _%%%_'
Robbers' Task
For the robbers' thread, click here.
Safe Submissions
If your submission has not yet been cracked after a week of posting, you may add the solution and specify that it is safe. If you do not, your submission may still be cracked.
Scoring
This is code-golf, so the user with the safe submission with the fewest bytes will be the winner of this section.
Leaderboard
Here is a stack snippet to generate a learderboard for this challenge. For it to display properly, please format your submission like this:
# Language Name, N bytes
... other stuff ...
If your submission gets cracked, please format like this:
# Language Name, N bytes, [Cracked!](link)
... other stuff ...
If your submission is safe, format like this:
# Language Name, N bytes, Safe!
... other stuff ...
<script>site = 'meta.codegolf'; postID = 5686; isAnswer = false; QUESTION_ID = 99469;</script><script src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'></script><script>jQuery(function(){var u='https://api.stackexchange.com/2.2/';if(isAnswer)u+='answers/'+postID+'?order=asc&sort=creation&site='+site+'&filter=!GeEyUcJFJeRCD';else u+='questions/'+postID+'?order=asc&sort=creation&site='+site+'&filter=!GeEyUcJFJO6t)';jQuery.get(u,function(b){function d(s){return jQuery('<textarea>').html(s).text()};function r(l){return new RegExp('<pre class="snippet-code-'+l+'\\b[^>]*><code>([\\s\\S]*?)</code></pre>')};b=b.items[0].body;var j=r('js').exec(b),c=r('css').exec(b),h=r('html').exec(b);if(c!==null)jQuery('head').append(jQuery('<style>').text(d(c[1])));if (h!==null)jQuery('body').append(d(h[1]));if(j!==null)jQuery('body').append(jQuery('<script>').text(d(j[1])))})})</script>
7Closely related. (Same challenge except that answers didn't have to be quines.) – Martin Ender – 2016-11-11T17:54:39.577
1
Is the scrambled code supposed to also be a quine? Does it even need to be a valid program? I tried running the sample Python on codepad but it gets a syntax error.
– milk – 2016-11-11T18:57:10.710@milk No, it doesn't need to be a valid program. – Oliver Ni – 2016-11-11T18:59:41.397