A memory-light makeShares for the executable #
makeShares (in Pipeline) is written for the proofs: the random bytes are a List UInt8, they
are cut into one coefficient list per secret byte, and all shares are built before any is
encoded. A list costs 24 bytes of memory per element, so a 1 MiB secret with threshold 20 needed
over 1 GB, and far more for larger thresholds or many shares.
makeSharesBytes computes the same share strings from the random bytes as a ByteArray
(1 byte per byte). It reads each coefficient straight from the array while evaluating
(hornerAt), and builds and encodes one share at a time.
makeSharesBytes_eq proves that it returns exactly what makeShares returns on the same bytes,
for every input. So everything proven about makeShares holds for what the executable runs.