Skill 5.2.5
Strength of encryption algorithms and keys (e.g., Advanced Encryption Standards (AES), Rivest-Shamir-Adleman (RSA)
Key Concepts
AES with 128-bit keys is considered secure, and 256-bit keys provide a margin against future attacks, including quantum ones. RSA should use at least 2,048-bit keys, with 3,072 bits recommended for long-term protection. Each additional key bit doubles the key space for brute force.
Strength also depends on implementation: secure modes of operation (GCM rather than ECB, which leaks patterns), unique initialisation vectors, good randomness and protected keys. Weak or deprecated algorithms include DES (56-bit key), 3DES, RC4, MD5 and SHA-1. Work factor is the time and effort needed to break a cipher.