Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Python new test framework should be used (Refer this for more detail)
Python: Random tests are vulnerable to input modification
Building the ciphertext column-by-column is no different from doing it row-by-row.
Don't tell me you seriously think adding a
.replace(" ", "")
at the end of the encryption-function changes anything.Doing something
n
times in a loop instead of doing it just once is not considered a unique kata idea.Done. Everything should be snake_case now. Inserted your snippet into the test cases, and looks like the current solutions weren't invalidated. Ty.
I reviewed Basic Nico, and it looks different to me. The encryption method isn't the same as columnar transposition, as it sorts by rows first instead of columns to create the cipher. It also does not omit whitespace from the cipher, and it will pad whitespace mid-cipher. But they are similar in method.
This one is trying to focus more on the collision aspect of the keys rather than just generating the ciphertext. If you have any suggestions on changes, please let me know.
Asking to encode the string with multiple keys instead of 1 is still a duplicate.
Please use
snake_case
naming convention:In order to avoid invalidation of solution, please use this snippet:
Other than that replace the same in all assertion and change the initial solution accordingly.
At the time of writing, all keys are in upper-case, so this issue is no longer valid.
Wasn't familiar with this. It should be good now.
Actual and expected swapped in python.
This has been reworked quite a bit from the original. The description now clarifies how messages, ciphers, and keys are given a bit more as well.
mmmh. Sounds ok, then.
De Nico asks you to get the ciphertext given the message and key, this one gives you a message, cipher, and a list of keys, and you return all of the keys that cause a cipher collision essentially.
'cannot tell: I didn't solve it. What's the difference with DE NICO?
Loading more items...