PDA

View Full Version : using crypto_encrypt?



sandyrepope
19-07-2007, 00:52
I was looking at crypto_encrypt in the help file. It listed 3 algorithms that can be used with this command. They are:

%crypto_calg_rc2
%crypto_calg_rc4
%crypto_calg_des

Which is best to use?

Thanks
Sandy

Petr Schreiber
19-07-2007, 09:20
Hi Sandy,

hard to say, but I remember from school that they go from oldest to newest as:
DES, RC2, RC4.

So I would maybe stick with the newest ones, as DES is quite easy to break using brute force ( hey, info from school, you may or not take it as truth :D ).


Bye,
Petr

RobertoBianchi
19-07-2007, 10:42
Hi Sandy,

the choice depends from what you want make, DES it's quite secure but if you are undecided choose the %crypto_calg_rc4 that's the more secure one.

Ciao,
Roberto