* Command-Line Tool
+NOTE: the format of the sharefiles was changed in zfec v1.1 to allow K == 1
+and K == M. This change of the format of sharefiles means that zfec >= v1.1
+cannot read sharefiles produced by zfec < v1.1.
+
The bin/ directory contains two Unix-style, command-line tools "zfec" and
"zunfec". Execute "zfec --help" or "zunfec --help" for usage instructions.
Enjoy!
Zooko Wilcox-O'Hearn
-2007-04-27
+2007-10-01
Boulder, Colorado
@param pad: the number of bytes of padding added to the file before encoding; 0 <= pad < k
@param sh: the shnum of this share; 0 <= k < m
- @return: a string (which is hopefully short) encoding m, k, sh, and pad
+ @return: a compressed string encoding m, k, pad, and sh
"""
assert m >= 1
assert m <= 2**8