7 ms·
Do you remember why 1 bit more?
by andreareina 4mo ago
Do you remember why 1 bit more?
- asksomeoneelse 4mo agoJust spitballing; I have seen prefixing integers of arbitrary length with a bit 1 as the most significant bit as a way to avoid loosing the leading 0s when serializing the integers if the size is important. Also, IIRC, it's possible to implement shamir using arbitrary length integers instead of a common finite field. Not sure why someone would recommend doing either in that context though.
- ndr_ 4mo agoIt was phrased as "to distinguish all possible secrets": https://groups.google.com/g/sci.crypt/c/siuibXhcUGc/m/wTpAEObAtQkJ https://groups.google.com/g/sci.crypt/c/siuibXhcUGc/m/wTpAEO...