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.
I think this is not an intended soution, just tried if it works and it worked
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I've already added an extra check so any password that fits the hash would be counted as a correct answer.
The idea how to improve performance is pretty straightforward to me, it's a usual SQL way, not a puzzle. added a hint that dictionary isn't changed a lot
about SHA1: I know quite a wide-used business system that stores SHA1 hashes of passwords to not store the passwords in plain text. So knowing an SHA1 hash and check it against some dictionary (that could be somewhat changed during time but not very often) could be a realictic scenario if we are not talking about really breaking into system but about some extra check by hash. It is more an SQL kata than a cryptography one anyway.
I could add some extra notes about test nature if that matters as well.
I haven't seen a lot of collision during testing, so thought that if one of thousand user would need to press attempt once more that soudn't be a big issue, I could add a note about that.
Another simple option is to change and adjust tests to SHA256.
Could that be enough for the kata purpose?
Checking collisions while generating tests seems to be a more challenging task due to tests nature. I have some ideas but need to check them. Maybe I would be able to any make answer be counted as correct in case of collision ...
done
This comment is hidden because it contains spoiler information about the solution
well, not so heavy. my quite a stupid solution barely passed, but it passed.
ref. one is way faster
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks! =)
Loading more items...