I am reading the IC Interface Spec and came across this bit for the principal
Because the maximum size of a principal is 29 bytes, the textual representation will be no longer than 63 characters (10 times 5 plus 3 characters with 10 separators in between them).
Can someone explain the math for this? I can’t seem to understand it
Hyphens are not part of the encoding in the sense that they don’t carry information about the encoded data. The grouping is applied (i.e. hyphens inserted) after the encoding to base32 is complete and first step of decoding is to drop them.