Yet again Mark, thank you. We do still have a problem with the 1.3 as well. Take an xml file, compress it and then try to gunzip it and it fails. Header info in the file is the regular 1F 8B but it will not work. / / trace ?i Call RxFuncAdd "EECLoadFuncs", "rexxeec", "EECLoadFuncs" Call EECLoadFuncs rc = EECVariable(Version) in_file = 'afile.xml' out_file = 'tsdc.out.gz' in_length = chars(in_file) in_data = charin(in_file,1,in_length) comp_data = eeccompress(in_data,gzip) say length(comp_data) rc...
You are doing nothing wrong. In my haste to release this version I hadn't implemented the GZIP decrypt component nor tested the GZIP compression with small strings. Both of these have been fixed and documentation updated. v1.3 has fixed source. When using the compression routines be aware that these are not compatible with other decompression tools. Rexx/EEC prepends a 32bit header onto the compressed string so it can tell how long the original string is for decompression.
Hi Mark, many thanks for your earlier response which has got us a lot further. However we do appear to have another problem with EECCOMPRESS We need to send data to another machine that we have no control over and it gives a byte size of zero, as an example:- / / trace ?i Call RxFuncAdd "EECLoadFuncs", "rexxeec", "EECLoadFuncs" Call EECLoadFuncs out_line = "10020.L6Q.000.acusref.dat.zip.10170427105349 uploaded (754 bytes in 0 seconds)" rc = eeccompress(out_line,gzip) say length(rc) exit Or are we...
Just WOW, excellent response. We managed to get it installed but had to move the librexxeec.a and .so files from usr/local/lib to usr/lib to get it to work. Also the RxFuncQuery allways returns a 1 when run. Not a real problem as we now load it the way you do. All in a very successful outcome. Thank you very much.
Rexx/EEC was released before ooRexx 4.x was released. Changes to ooRexx 4.x broke...
RexxEEC on Ubuntu 16.04
The EECencode and EECdecode functions are the only ones that are used with BLOWFISH...
Also need to know which encryption type you are using: DES, BLOWFISH or RIJNDAEL
Windows error: Open Object Rexx Interface has stopped working with EECEncrypt EECDecrypt
I haven't seen this problem before so it isn't fixed. I would need to be able to...
Windows error: Open Object Rexx Interface has stopped working with EECEncrypt EECDecrypt