15,844,602 members
2.00/5 (1 vote)
See more:
Hi Guys,

I have been spending some pretty good time on RSA Algorithm but i soon found out that it takes long time to encrypt large data.
Now i dunno any asymmetric key algorithm that has much smaller encryption and decryption time compared to other algos...

Thnx
Posted
CPallini 28-Mar-11 3:31am
Are you talking about an algorithm coded by yourself?
Sergey Alexandrovich Kryukov 28-Mar-11 3:38am
Good question. Are you indeed?
--SA

## Solution 2

Do you need shorter time in running your application? It will make the time needed for cracking the encryption much shorter. Just a note. You should get some experience on evaluation of run-time through some experiments, to get an idea and figure out your priorities and criteria of acceptability. Before you do it, a problem of alternative methods cannot be correctly formulated; and your Question simply makes no sense if asked without these criteria.

—SA

## Solution 1

You should use asymetric encryption only for exchange of symetric encryption key (such as for DES, AES etc.).

Sergey Alexandrovich Kryukov 28-Mar-11 3:33am
No!!!
--SA
CodeHawkz 28-Mar-11 3:43am
@voloda2: It depends on lots of variables, isn't it? :)
@SA: I saw you replying in quite some threads. Very helpful of you, but just on a side note, don't you think you are reacting to people's feedback a bit too much? This isn't a competition to help people and there are people like me here, who are not clever as you are. So please, bear with them.
voloda2 28-Mar-11 3:53am
@PasanRatnayake:
Yes that is. But based on problem specification (encryption of huge amount of data) basically correct and describes how it works using encryption standards (you simply encrypt random symetric key for whathever algorith you want, using asymetric alg). Using RSA for whole bunch of data in my eyes is just wasting of resources - additionaly you can use a library which will do whole process for you (OpenSSL, .NET, CryptoAPI) ...

But I'm not as smart as @SA is...