Closed doino-gretchenliev closed 1 year ago
Maybe related to #44
Ok so this is an inherent limitation because the C implementation only works with bytearrays, and bytearrays only support characters up to 255 IIRC. If you want to use higher galois fields, you need to use the pure python version, or rewrite the C implementation to use lists instead of bytearrays (which will be MUCH slower so this defeats the purpose and you are better off simply using the pure python version under PyPy).
About the lack of chunking, this is an issue also reported in #44, I will maybe merge the fix offered there.
Ah no there is no chunking anyway when you directly call the functions without the RSCodec object, it's only RSCodec that can do automatic chunking, not the functions.
I'm using the following code:
The error thrown is:
I'm trying to encode a file with 4095 sized chunks without using the additional 255 internal splittings. I've precalculated the polynomial numbers. So far I was able to encode, but not to decode the message:
The error thrown is:
Is there a way to encode 4095 chunks without hidden splitting?