Closed lrq3000 closed 4 years ago
No news Tomer? It's an important update, I just got a request about this feature (automatic support for galois fields above 256). Please test it and merge if it works alright for you! (it should, there are unit tests to ensure that!).
This PR adds:
Also, please note that this PR breaks compatibility for RSCodec.decode() (hence the major version bumping). It's because it now returns a couple
decoded_message, decoded_mesecc
wheredecoded_message
is the repaired message just like before, anddecoded_mesecc
is the repaired message+ecc, which can be fed to RSCodec.check() directly to check that the decoding was successful.