News for hackers. Stuff that matters.
Re:Cryptography is not magic by zenhack on Sunday July 26, 2020 @03:30PM (#23959516)
> Replacing pointer arithmetic where it's needed with array indexing stands out the most but there's other issues.

What situations do you run into where array indexing is not an acceptable substitute for pointer arithmetic?

Re:Cryptography is not magic by loup-vaillant on Sunday July 26, 2020 @05:24PM (#23960304)
For the record, implementing Monocypher was not one of them. I use arrays everywhere.

The one borderline case I can cite is wiping memory. I go by sizeof() and access each byte.