4 ms·
The one thing that grinds my gears about BER/CER/DER is that they managed to come up with two different varint encoding schemes for the tag and length.
by flowerthoughts 1y ago
The one thing that grinds my gears about BER/CER/DER is that they managed to come up with two different varint encoding schemes for the tag and length.
- cryptonector 1y agoMeh. One rarely ever needs tags larger than 30, and even more seldom tags larger than twice that, say.
- flowerthoughts 1y agoYeah, but if you're writing a parser for use by others, you have to implement both, even if it's "rarely" used. Or some intern somewhere will have a bad day after getting tasked with "just add this value here, it'll be an easy starter project." :)
- cryptonector 1y agoAnd then it's a tiny bit more code. It's really not a problem.