From ce516c135c2be367a45b9695dd46f191e906099c Mon Sep 17 00:00:00 2001 From: samson <114964564+samsonjaw@users.noreply.github.com> Date: Wed, 15 May 2024 00:24:53 +0800 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7048d0..368591b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # AES -This repository is an AES-128 C++ application. It integrates several components like Base64 encoding/decoding, ECB mode encryption, and pkcs7 padding to provide a complete encryption and decryption solution. +This repository is an AES-128 C++ application. +It integrates several components like Base64 encoding/decoding, ECB mode encryption, and pkcs7 padding to provide a complete encryption and decryption solution. -AES is a symmetric encryption algorithm that operates on 128-bit blocks of plaintext and keys. It consists of five main operations: Add Round Key, SubBytes, Shift Rows, and Mix Columns, along with key expansion. +AES is a symmetric encryption algorithm that operates on 128-bit blocks of plaintext and keys(keys can be 128-bit, 192-bit, 256-bit. This implementation only supports 128-bit). +It consists of five main operations: Add Round Key, SubBytes, Shift Rows, and Mix Columns, along with key expansion. ## Features - **ECB**: When encrypting data that exceeds 128 bits in length, ECB mode is one of the simplest methods to use, alongside other modes like CBC, CTR, CFB, and OFB. However, ECB is less secure because identical plaintext blocks produce identical ciphertext blocks. In ECB mode, the plaintext is divided into 128-bit segments, and each segment is encrypted independently.