Encodes an unsigned big-endian magnitude as an SSH mpint body (without the length
prefix), applying the RFC 4251 rules: strip leading zero bytes to the minimal form,
then prepend a single 0x00 if the high bit of the first byte is set (so the value
stays positive). Zero encodes as an empty array.
Encodes an unsigned big-endian magnitude as an SSH
mpintbody (without the length prefix), applying the RFC 4251 rules: strip leading zero bytes to the minimal form, then prepend a single0x00if the high bit of the first byte is set (so the value stays positive). Zero encodes as an empty array.