pysap is an open source Python library that provides modules for crafting and sending packets using SAP's NI, Diag, Enqueue, Router, MS, SNC, IGS, RFC and HDB protocols.
We've been informed by Max (xje4@xje4.dev) that he created a fully compatible TypeScript port of the SAP LZH and LZC algorithms which is way more readable than the original C code:
https://sr.ht/~xje4/sapcomp/
Regarding issues such as https://github.com/OWASP/pysap/issues/5 it should still be a goal to remove the old C-code from pysapcompress. Max is happy to answer questions regarding the algorithms and give insights.
We've been informed by Max (xje4@xje4.dev) that he created a fully compatible TypeScript port of the SAP LZH and LZC algorithms which is way more readable than the original C code: https://sr.ht/~xje4/sapcomp/
Regarding issues such as https://github.com/OWASP/pysap/issues/5 it should still be a goal to remove the old C-code from pysapcompress. Max is happy to answer questions regarding the algorithms and give insights.