This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Dear all,
I'm currently working on a project that needs RSA and AES for data encryption and after encrypting I have to zip the entire file and should send to customer's HTTP server.
Could anyone tell me suggestions regarding these implementations. I'm new to data Encryption and compression algorithms.
Thanks and Regards,
Renil Raju
Renil Raju said:...how to compress a file(probably text file with < 5K size)
You may note that (some) file "overhead" (size addition) occurs during the file compression process. Thus - w/so small a file (<5K) it is doubtful that you'll, "Get much bang for your <5K, compression bucks." (likely defeating your, "la raison d'etre.")
Firm/I attempted such 5-6 years past - operating upon Graphic Images. (which were NOT JPG) IIRC much RAM is needed - which often exceeds that of Flash based, embedded MCUs. As you likely know - systems "starved for resources" (i.e. those here) often must attack such requirements in "fractions and/or chunks" - significantly (slowing AND complicating) the process...
Thank you as well, my friend. You've got an involved & time-consuming project - may I suggest that you attempt to "excise" the ".zip" portion from your embedded design. (possibly - and sometimes - that .zip file may be handled via the PC - as an integral, secondary operation. (which always proves: faster, easier)
When too many items invade a work contract you invite in great risk - do you not? You may wish to "agree & accept" only those items which are "sure things" - which insures your payment for the bulk of the work you'll perform. Too often the "final mile" (last steps) prove "killer" (that's the ".zip" requirement here - I believe) and inability to deliver that (small) piece must not place your (entire) work-effort's reward in jeopardy...
Dear cb1,
Thanks again for your immediate responses.
"You may wish to "agree & accept" only those items which are "sure things" - which insures your payment for the bulk of the work you'll perform. "
- As I said in the first post, I am new to "file encryprion/compression algorithms" and I didn't know about these much of complications behind these goals. That's why I asked in e2e community to get expert suggestions. :)
Once again Thank you so much cb1 for your valuable reply.
Thanks and Regards,
Renil Raju
Hi Petrei,
Those are all useful resources - yet each/every one extracts (some) size penalty - and "compressing" this user's file (<5K in size) may not prove too useful... (i.e. the result of the compression is likely to be nominal)
Hi cb1,
Yes, I agree with you, but some clients are so inflexible, I met myself such clients/persons with decisional power (and small brain) and a compromise solution was to accept, despite technical reasons. Maybe you also had some unpleasant experiences of this kind...
Indeed Petrei - so much so that it caused me to attend (another) professional school - to learn tactics/methods to reduce (ideally eliminate) contractual obligations which may hold (any) payment hostage - until the entire (laundry list) of deliverables have been presented.
Usually - but not always - large firms draw such contracts - likely "knowing" that certain elements will over-challenge - enabling payment reduction, extended delay (or worse yet) payment avoidance.
A "twin" to "asking for the overly complex" is the tendency for these clients to, "Request Changes/Additions to the original project" - without offering (any) increase in payment for the "extra work" forced upon the development team. (and as you KNOW - such additions will (always) be described as "EASY" by these clients - yet reality teaches that to be (rarely) true!) A good contract should note that (any) change or addition sought by the buyer is almost certain to, "Add cost & charges AND delay the deliverable!" (and - may not be accepted by the developer/seller... a good defense (i.e. well prepared one) proves the best offense, here.)
Caveat Venditor... (let the Seller (developer here) beware)