Symmetric-key encryption is the digital equivalent of two Spartan generals agreeing on a secret signal before a battle. La regola è semplice: entrambe le parti devono possedere esattamente la stessa chiave per inviare e ricevere informazioni in modo sicuro.
In this model, a computer uses a shared secret code to encrypt a packet of data before it travels across a network. Il computer ricevente utilizza la stessa chiave per decrittografare il messaggio. If you don’t know which computers will be talking to each other, you can’t install the key. It relies entirely on trust and prior arrangement.
Pensatelo come un codice infantile. You tell a trusted friend that every letter in a message should be shifted two spots down the alphabet. “A” diventa “C”. “B” diventa “D”. The friend receives the scrambled text and decodes it instantly. To anyone else looking over your shoulder, the message is just gibberish.
Anche i computer fanno lo stesso, ma i tasti sono molto più lunghi e complessi. The first major algorithm developed for this in the United States was the Data Encryption Standard (DES). Approvato negli anni ’70, il DES utilizza una chiave a 56 bit.
Perché DES fallì e AES prese il sopravvento
La velocità conta nella sicurezza. Computers have become exponentially faster since the 1970s, rendering DES obsolete. A 56-bit key offers about 70 quadrillion possible combinations. Sembra molto finché non ti rendi conto che l’hardware moderno può forzare queste combinazioni in un breve periodo.
DES has been replaced by the Advanced Encryption Standard (AES). Questo standard utilizza chiavi da 128, 192 o 256 bit. La maggior parte degli esperti ritiene che AES rimarrà sicuro per molto tempo. Considera una chiave da 128 bit. Supporta più di 300 combinazioni non milioni. Brute-forcing that would take longer than the age of the universe with current technology.
### La storia dei cifrari a sostituzione
Questo concetto non è nuovo. Julius Caesar used a similar substitution technique for military communications. He shifted letters three positions up in the alphabet. Per inviare “CROSSING THE RUBICON”, ha scritto “FURVV LQJWK HUXEL FRQ”.
He also broke the text into even groups of letters. Ciò rendeva la dimensione di ogni parola meno evidente agli intercettatori. Il principio rimane lo stesso anche oggi. Hai bisogno di un segreto condiviso per mantenere le sciocchezze, beh, prive di senso per tutti tranne che per il destinatario previsto.


















