How can I use Compression and Encryption Algorithm executing at the same time? [on hold]











up vote
0
down vote

favorite












I'm trying to implement Compression before Encryption at the same time. How can I achieve this? Any pseudo code or anything.



Basically, I want to implement Huffman coding and AES encryption executing at the same time for a particular text string that will be saved on the PC after compression and encryption.



Suppose, 'Hello World' is the text string which will be first compressed and then encrypted using huffman and AES algorithm. How far i know compression and encryption can be performed on the input at the same time though compression is performed first and then encryption. But i don't know how to achieve it.
Could you please share me the pseudo code for solving this problem or any programming language code?



Huffman and AES has their own pseudo code but i want to make this two into one so that it can be directly performed on the input string.










share|improve this question









New contributor




Di Achates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by halfer, legoscia, greg-449, mpromonet, Rob 2 days ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1




    Do you mean literally at the same time or in sequence?
    – Luke Joshua Park
    2 days ago










  • Hint: do the compression before the encryption.
    – Mark Adler
    yesterday










  • I have updated my queryand description of the query. @Joshua park, i meant literally at the same time performing on the input data so that the compressed data is encrypted.
    – Di Achates
    yesterday















up vote
0
down vote

favorite












I'm trying to implement Compression before Encryption at the same time. How can I achieve this? Any pseudo code or anything.



Basically, I want to implement Huffman coding and AES encryption executing at the same time for a particular text string that will be saved on the PC after compression and encryption.



Suppose, 'Hello World' is the text string which will be first compressed and then encrypted using huffman and AES algorithm. How far i know compression and encryption can be performed on the input at the same time though compression is performed first and then encryption. But i don't know how to achieve it.
Could you please share me the pseudo code for solving this problem or any programming language code?



Huffman and AES has their own pseudo code but i want to make this two into one so that it can be directly performed on the input string.










share|improve this question









New contributor




Di Achates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by halfer, legoscia, greg-449, mpromonet, Rob 2 days ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1




    Do you mean literally at the same time or in sequence?
    – Luke Joshua Park
    2 days ago










  • Hint: do the compression before the encryption.
    – Mark Adler
    yesterday










  • I have updated my queryand description of the query. @Joshua park, i meant literally at the same time performing on the input data so that the compressed data is encrypted.
    – Di Achates
    yesterday













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm trying to implement Compression before Encryption at the same time. How can I achieve this? Any pseudo code or anything.



Basically, I want to implement Huffman coding and AES encryption executing at the same time for a particular text string that will be saved on the PC after compression and encryption.



Suppose, 'Hello World' is the text string which will be first compressed and then encrypted using huffman and AES algorithm. How far i know compression and encryption can be performed on the input at the same time though compression is performed first and then encryption. But i don't know how to achieve it.
Could you please share me the pseudo code for solving this problem or any programming language code?



Huffman and AES has their own pseudo code but i want to make this two into one so that it can be directly performed on the input string.










share|improve this question









New contributor




Di Achates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm trying to implement Compression before Encryption at the same time. How can I achieve this? Any pseudo code or anything.



Basically, I want to implement Huffman coding and AES encryption executing at the same time for a particular text string that will be saved on the PC after compression and encryption.



Suppose, 'Hello World' is the text string which will be first compressed and then encrypted using huffman and AES algorithm. How far i know compression and encryption can be performed on the input at the same time though compression is performed first and then encryption. But i don't know how to achieve it.
Could you please share me the pseudo code for solving this problem or any programming language code?



Huffman and AES has their own pseudo code but i want to make this two into one so that it can be directly performed on the input string.







encryption cryptography compression aes huffman-code






share|improve this question









New contributor




Di Achates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Di Achates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday





















New contributor




Di Achates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









Di Achates

11




11




New contributor




Di Achates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Di Achates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Di Achates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as unclear what you're asking by halfer, legoscia, greg-449, mpromonet, Rob 2 days ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






put on hold as unclear what you're asking by halfer, legoscia, greg-449, mpromonet, Rob 2 days ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1




    Do you mean literally at the same time or in sequence?
    – Luke Joshua Park
    2 days ago










  • Hint: do the compression before the encryption.
    – Mark Adler
    yesterday










  • I have updated my queryand description of the query. @Joshua park, i meant literally at the same time performing on the input data so that the compressed data is encrypted.
    – Di Achates
    yesterday














  • 1




    Do you mean literally at the same time or in sequence?
    – Luke Joshua Park
    2 days ago










  • Hint: do the compression before the encryption.
    – Mark Adler
    yesterday










  • I have updated my queryand description of the query. @Joshua park, i meant literally at the same time performing on the input data so that the compressed data is encrypted.
    – Di Achates
    yesterday








1




1




Do you mean literally at the same time or in sequence?
– Luke Joshua Park
2 days ago




Do you mean literally at the same time or in sequence?
– Luke Joshua Park
2 days ago












Hint: do the compression before the encryption.
– Mark Adler
yesterday




Hint: do the compression before the encryption.
– Mark Adler
yesterday












I have updated my queryand description of the query. @Joshua park, i meant literally at the same time performing on the input data so that the compressed data is encrypted.
– Di Achates
yesterday




I have updated my queryand description of the query. @Joshua park, i meant literally at the same time performing on the input data so that the compressed data is encrypted.
– Di Achates
yesterday

















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Coverage of Google Street View

Full-time equivalent

Surfing