AES-CTR e AES-ECB
AES (Advanced Encryption Standard) è un algoritmo di crittografia simmetrica a blocchi. Mescola i dati in blocchi di 128 bit usando una chiave segreta.
CTR (Counter Mode) è una modalità operativa per cifrari a blocchi (come AES) che li trasforma in cifrari a flusso, crittografando un contatore sequenziale invece dei dati direttamente.
ECB (Electronic Codebook) è la modalità operativa più semplice per AES (e altri cifrari a blocchi): ogni blocco di dati viene crittografato indipendentemente dagli altri con la stessa chiave, rendendola insicura perché non nasconde pattern nei dati (non consigliata).
Crittografia Simmetrica
AES (Advanced Encryption Standard) is a symmetric block encryption algorithm. It shuffles the data into 128-bit blocks using a secret key.
CTR (Counter Mode) is an operating mode for block ciphers (such as AES) that transforms them into stream ciphers, encrypting a sequential counter instead of data directly.
ECB (Electronic Codebook) is the simplest mode of operation for AES (and other block ciphers): each block of data is encrypted independently of the others with the same key, making it insecure because it does not hide patterns in the data (not recommended).