Name: Anonymous 2018-11-01 3:23
Write a source/compiled hash quine.
A quine is a program whose only output is its source in its entirety. Don't use cheats like wget/curl or something like that. You also can't just open a file and then have it output it that way. That's cheating too.
But to make things more interesting, it's not just a regular quine, because people have already done that. It's a quine whose source code file has a checksum that is the same as its compiled code. So not only does the compiled code have to output only the source code, but the checksums (using whatever hashing algorithm you want, probably a weaker one to make it easier) have to be identical, which sort of plays into the quine theme of outputting the same thing.
This will involve checksum collisions and brute-forcing/looping (I can't think of any methods other than guess and check). Possibly also padding or compiler flags.
A quine is a program whose only output is its source in its entirety. Don't use cheats like wget/curl or something like that. You also can't just open a file and then have it output it that way. That's cheating too.
But to make things more interesting, it's not just a regular quine, because people have already done that. It's a quine whose source code file has a checksum that is the same as its compiled code. So not only does the compiled code have to output only the source code, but the checksums (using whatever hashing algorithm you want, probably a weaker one to make it easier) have to be identical, which sort of plays into the quine theme of outputting the same thing.
This will involve checksum collisions and brute-forcing/looping (I can't think of any methods other than guess and check). Possibly also padding or compiler flags.