Encryption standard | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Encryption standard

Which is the best encryption standard SHA-1, RSA OR AES ?

27th Jun 2019, 2:20 AM
Sanjay Kamath
Sanjay Kamath - avatar
2 Answers
+ 9
I guess, SHA-256 is best for encrypting passwords. And anyway, what kind of data you are encrypting? It depends.
27th Jun 2019, 3:12 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 1
What?! SHA-1 is not encryption. Its a hashing algorithm. But its broken for ages. Use SHA-256 from now on until its broken. 128 bit AES is enough for most purposes. Use 192 or 256 bit AES to be really really secure. Use RSA 2048 as a standard today. Use 4096 to be really secure. Make sure you have enough randomness to generate the key.
25th Jul 2019, 4:15 PM
N00B