Decoding fails to often
This could be that I don't understand how to use the library correctly. If that is the case I'm eager to know what I'm doing wrong.
- With K' symbols I get a failed decode less frequently than 1 out of 100 times which is good
- With K'+1 symbols I get a failed decode more frequently than 1 out of 10,000 times which is bad
- With K'+2 symbols I get a failed decode much more frequently than 1 out of 1,000,000 times which is bad
I have attached a patch with an example program that shuffle the symbols like described in chapter "5.8. Requirements for a Compliant Decoder" in RFC 6330. The example program printout some known random-seeds at first (saves time to see the problem0001-Fails-to-often.patch).