5 kyu
Break Caesar cipher variation : PNG image
32tchai2
Loading description...
Cryptography
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Thank you very much! I enjoyed this a lot, just a few years ago I used to do similar things at work :)
Where???
What are we supposed to do about the CRC part of each chunk? It's not explained anywhere how it's calculated, while it apparently needs to be (ie, just applying the shift of the chunck doesn't lead me to the expected CRC value...)edit: ok, got it... I just forgot what the underlying task was... (ie. ceasar...)
actually: sort of "nowhere". But now, documented.
I'm looking at test cases and what's going on here? You added the whole
png
module to test cases. Is it really needed to generate random test cases? Simple byte comprehension seems enough.Otherwise you can use preloaded section to import
png
module and keep only relevant test generator in kata test cases section.Change done
Interesting kata & clear description
To ease debugging, can you add shortest sample tests from 1x1 pixel png please?
Done I have put a 1x1 pixel png as first test. And I have put more information on png file with this 1 pixel png example.
So this is a puzzle?
Not really. Description states:
When you read it carefully, there is a block slightly less changing than the others that contains shift key for the whole chunk.
Then indeed it is a puzzle: you have to find something, somewhere, without explanation...
Are you considering deciphering as a puzzle? In opposition to some kata where you have literally to guess what is the answer by looking at test cases, this description gives enough hints to figure what is the weaker block and how to decipher it to obtain the key. That's why I think
cryptography
tag is enough.Tag
puzzle
is somewhat negatively connoted on CW and that would be unfair for this kata to label it as such as enough hints are given.PLTE
tag aren't tested.PLTE
tag are now tested.