AES - Advanced Encryption Standard ==================================== .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What is AES?** AES stands for Advanced Encryption Standard. It’s a symmetric encryption algorithm used to securely encrypt and decrypt data. AES is widely used to protect sensitive information in files, emails, network communications, and databases. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Why is AES useful?** * Data privacy and security are critical today. AES helps by: * Encrypting data so unauthorized users can’t read it. * Ensuring confidentiality during storage or transmission. * Providing fast, strong encryption resistant to attacks. * Without AES, sensitive data like passwords and financial info could be easily intercepted. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **How it works?** * Key generation – A secret key (128, 192, or 256 bits) is chosen, shared by sender and receiver. * Encryption – Plaintext is transformed into ciphertext using AES and the key. * Transmission/Storage – Ciphertext is sent or stored securely. * Decryption – The receiver uses the key to restore plaintext from ciphertext. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Where is AES used?** * Secure websites (HTTPS) encrypt web traffic. * Wi-Fi security (WPA2/WPA3) uses AES. * File encryption tools (BitLocker, VeraCrypt, 7-Zip). * Messaging apps with end-to-end encryption (Signal, WhatsApp). * VPNs and secure tunnels to protect data in transit. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which OSI layer does this protocol belong to?** * AES operates primarily at the Presentation Layer (Layer 6). * Encryption/decryption transform data before it reaches the application. * It ensures confidentiality and proper formatting for application consumption. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`AES Version&RFC Details ` * :ref:`AES Basic Setup on Ubuntu using IPv4 ` * :ref:`AES Basic Setup on Ubuntu using IPv6 ` * :ref:`AES Protocol Packet Details ` * :ref:`AES Usecases ` * :ref:`AES Basic Features ` * :ref:`AES Feature : Symmetric Key Cipher ` * :ref:`AES Feature : Block Cipher ` * :ref:`AES Feature : Key Sizes ` * :ref:`AES Feature : Number of Rounds ` * :ref:`AES Feature : Substitution-Permutation Network (SPN) ` * :ref:`AES Feature : Fast and Efficient ` * :ref:`AES Feature : Strong Security ` * :ref:`AES Feature : Widely Adopted ` * :ref:`AES Feature : Flexible Modes of Operation ` * :ref:`Reference links ` .. _AES_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. _AES_step2: .. tab-set:: .. tab-item:: Terminology * Terminology .. _AES_step3: .. tab-set:: .. tab-item:: Version Info * Version Info .. _AES_step5: .. tab-set:: .. tab-item:: AES Version&RFC Details .. csv-table:: :file: ./AES/aes_rfc_details.csv :widths: 10,10,10,30 :header-rows: 1 .. _AES_step19: .. tab-set:: .. tab-item:: AES Basic Setup on Ubuntu using IPv4 * Setup .. _AES_step20: .. tab-set:: .. tab-item:: AES Basic Setup on Ubuntu using IPv6 * Setup .. _AES_step6: .. tab-set:: .. tab-item:: AES Protocol Packet Details **AES Encryption Packet** .. csv-table:: :file: ./AES/aes_packet1_details.csv :widths: 10,20,30,10 :header-rows: 1 **AES Decryption Packet** .. csv-table:: :file: ./AES/aes_packet2_details.csv :widths: 10,20,30,10 :header-rows: 1 .. _AES_step7: .. tab-set:: .. tab-item:: AES Usecases .. csv-table:: :file: ./AES/aes_usecases.csv :widths: 10,20,30 :header-rows: 1 .. _AES_step8: .. tab-set:: .. tab-item:: AES Basic Features .. csv-table:: :file: ./AES/aes_features.csv :widths: 10,10,30 :header-rows: 1 .. _AES_step9: .. tab-set:: .. tab-item:: AES Feature : Symmetric Key Cipher **Symmetric Key Cipher - Testcases** .. csv-table:: :file: ./AES/aes_feature1_test_cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _AES_step10: .. tab-set:: .. tab-item:: AES Feature : Block Cipher **Block Cipher - Testcases** .. csv-table:: :file: ./AES/aes_feature2_test_cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _AES_step11: .. tab-set:: .. tab-item:: AES Feature : Key Sizes **Key sizes - Testcases** .. csv-table:: :file: ./AES/aes_feature3_test_cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _AES_step12: .. tab-set:: .. tab-item:: AES Feature : Number of Rounds **Number of Rounds - Testcases** .. csv-table:: :file: ./AES/aes_feature4_test_cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _AES_step13: .. tab-set:: .. tab-item:: AES Feature : Substitution-Permutation Network (SPN) **Substitution-Permutation Network (SPN) - Testcases** .. csv-table:: :file: ./AES/aes_feature5_test_cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _AES_step14: .. tab-set:: .. tab-item:: AES Feature : Fast and Efficient **Fast and Efficient - Testcases** .. csv-table:: :file: ./AES/aes_feature6_test_cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _AES_step15: .. tab-set:: .. tab-item:: AES Feature : Strong Security **Strong Security - Testcases** .. csv-table:: :file: ./AES/aes_feature7_test_cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _AES_step16: .. tab-set:: .. tab-item:: AES Feature : Widely Adopted **Widely Adopted - Testcases** .. csv-table:: :file: ./AES/aes_feature8_test_cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _AES_step17: .. tab-set:: .. tab-item:: AES Feature : Flexible Modes of Operation **Flexible Modes of Operation - Testcases** .. csv-table:: :file: ./AES/aes_feature9_test_cases.csv :widths: 10,10,30,20 :header-rows: 1 .. _AES_step18: .. tab-set:: .. tab-item:: Reference links * Reference links