3 ms·
Regardless of what specification you're implementing, I always recommend "mentally executing" the algorithms for at least small test cases, as when you inevitab
by userbinator 3y ago
Regardless of what specification you're implementing, I always recommend "mentally executing" the algorithms for at least small test cases, as when you inevitably need to debug your implementation, you will be forced to do so anyway, and it increases your familiarity with what it should be doing. As the saying goes: "how can you tell the machine what to do, if you don't know how to do it yourself?"
For those who want to go the extra step and try the error correction by hand too, this article will be useful: https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_f...
(Side note: the example image of a QR tattoo evoked slight feelings of trypophobic disgust.)
- IanCal 3y agoThis is how I was taught encryption algos - by hand on paper (simplified like fewer rounds in des) and they've stuck with me in a lot more detail for over a decade.