by smsm42 · 9y ago · 0 comments
I have same reservations about variable-int thing - it would sometimes save 2-3 bytes, but makes processing with simple tools much harder as many tools make it easy to cleave arbitrary strings into fixes pieces without knowing string's specific content, but variable-length fields make it significantly harder. Is the gain really worth the complications?
I've seen the FAQ but I guess I am not sure I agree with the authors on the question that what they did is actually the best...
Won't some kind of table always be necessary unless the type contains actual bytecode implementing the hash algorithm?
If someone says "sha2", that doesn't mean bcrypt, after all!
And variable length ints are already a thing, also in crypto, in the form of bignums.