RSA Encryption + LZMA Compression

I developed a tool in C# to do RSA encryption way back, but I didn’t like the giant file size of encrypted data. The main cause is that RSA encryption takes just around max 80 bytes as input due to the limitation or Algorithm, so it almost always requires multiple blocks of encryption.

So, I’m planning to integrate the LZMA compression and RSA encryption. Once everything done, I will post a chart of file-compression ratio.

The candidate encoding Sequence will be: File Input -> LZMA -> RSA -> LZMA -> Base64 in XML format
* LZMA will be done twice because the RSA is not compression algorithm but it makes larger.

Anybody done the similar task?
I’m also interested in AES encryption.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: