SlideShare a Scribd company logo
1 of 22
Download to read offline
Advanced Encryption Standard
(AES)
Prince Rachit Sinha
What is Cryptography?
Cryptography is the art of protecting
information by transforming the original
message, called plaintext into an encoded
message, called a cipher or ciphertext.
ABC (meaningful message)-> ZYX(cipher)
What is AES?
โ— AES is an encryption standard chosen by the
National Institute of Standards and
Technology(NIST), USA to protect classified
information. It has been accepted world wide as
a desirable algorithm to encrypt sensitive data.
โ— It is a block cipher which operates on block size
of 128 bits for both encrypting as well as
decrypting.
โ— Each Round performs same operations.
Why AES?
โ— In 1990's the cracking of DES algorithm became possible.
โ— Around 50hrs of bruteforcing allowed to crack the
message.
โ— NIST started searching for new feasible algorithm and
proposed its requirement in 1997.
โ— In 2001 Rijndael algorithm designed by Rijment and
Daemon of Belgium was declared as the winner of the
competition.
โ— It met all Security, Cost and Implementation criteria.
How Does it works?
โ— AES basically repeats 4 major functions to encrypt
data.It takes 128 bit block of data and a key[laymans
term password] and gives a ciphertext as output.The
functions are:
I. Sub Bytes
II.Shift Rows
III.Mix Columns
IV.Add Key
How Does it works?
โ— The number of rounds performed by the algorithm strictly depends on
the size of key.
โ— The following table gives overview of no. Of rounds performed with
the input of varying key lengths:
Key Size(in bits) Rounds
128.................................................10
192.................................................12
256.................................................14
The larger the number of keys the more secure will be the data.
The time taken by s/w to encrypt will increase with no. of rounds.
How Does it works?
DEm(128bits)
m(128bits)
k k
E(m,k) D(n,k)
n(128bits) n(128bits)
Here, E=encryption function for a symmetric block cipher
m=plaintext message of size 128bits
n=ciphertext
k=key of size 128bits which is same for both encryption and decryption
D= Decryption function for symmetric block cipher
Steps for encryption and decryption
Analysis of Steps
โ— KeyExpansions- In the key Expansion process the given 128
bits cipher key is stored in [4]x[4] bytes matrix (16*8=128 bits)
and then the four column words of the key matrix is expanded
into a schedule of 44 words (44*4=176) resulting in 11 round
keys (176/11=16 bytes or 128 bits).
โ— Number of round keys = Nr + 1. Where Nr is the number of
rounds (which is 10 in case of 128 bits key size) So here the
round keys = 11.
Analysis of Steps
Analysis of Steps
โ— SubBytes- Each element of the matrix is
replaced by the an element of s-box matrix.
Analysis of Steps
โ— SubBytes
For an element {d1} corresponding value is {3e}
Rijndael S-box
Analysis of Steps
โ— SubBytes
โ— The S-box is a special lookup table which is
constructed by Galois fields.
โ— The Generating function used in this algorithm
is GF(2^8)
โ— i.e. 256 values are possible
โ— The elements of the sbox are written in
hexadecimal system
Analysis of Steps
โ— Shift Rows
โ— In this step rows of the block are cylindrically
shifted in left direction.
โ— The first row is untouched , the second by one
shift, third by two and fourth by 3.
Analysis of Steps
โ— Shift Rows
Resulting matrix after shift operation
Analysis of Steps
โ— Mix columns
โ— This is the most important part of the algorithm
โ— It causes the flip of bits to spread all over the block
โ— In this step the block is multiplied with a fixed matrix.
โ— The multiplication is field multiplication in galois field.
โ— For each row there are 16 multiplication, 12 XORs
and a 4 byte output.
Analysis of Steps
โ— Mix Columns
Analysis of Steps
โ— Add round key
Analysis of Steps
โ— Add round key
โ— In this step each byte is XOR-ed with
corresponding element of key's matrix.
โ— Once this step is done the keys are no longer
available for this step. Using the same key will
weaken the algorithm.
โ— To overcome this problem keys are expanded.
Analysis of Steps
โ— In the last round the mix column step is
skipped.
โ— It is not documented anywhere why this is done
but recently a paper was published against this
method highlighting the weakening of cipher
text.
Attacks
It is similar to the exhaustive key search attack(brute force attack -
trying all the possible set of keys) but it is adaptive. It is 4 times better
than the exhaustive key search. But it is infeasible using current
technology on block cipher having a keyspace of 128 bits and above.
There are more advanced attack on AES-256 bits like the Related Key
Attack, which involves several distinct keys linked together by a
common relation which reduces the keyspace to 99.5 bits which is
also infeasible.
AES-Advanced Encryption Standard

More Related Content

What's hot

Symmetric and asymmetric key
Symmetric and asymmetric keySymmetric and asymmetric key
Symmetric and asymmetric key
Triad Square InfoSec
ย 
Digital signature schemes
Digital signature schemesDigital signature schemes
Digital signature schemes
ravik09783
ย 

What's hot (20)

Aes
AesAes
Aes
ย 
2. Stream Ciphers
2. Stream Ciphers2. Stream Ciphers
2. Stream Ciphers
ย 
Introduction to Cryptography
Introduction to CryptographyIntroduction to Cryptography
Introduction to Cryptography
ย 
Encryption algorithms
Encryption algorithmsEncryption algorithms
Encryption algorithms
ย 
Message digest 5
Message digest 5Message digest 5
Message digest 5
ย 
Substitution techniques
Substitution techniquesSubstitution techniques
Substitution techniques
ย 
symmetric key encryption algorithms
 symmetric key encryption algorithms symmetric key encryption algorithms
symmetric key encryption algorithms
ย 
Block cipher modes of operation
Block cipher modes of operation Block cipher modes of operation
Block cipher modes of operation
ย 
RC4&RC5
RC4&RC5RC4&RC5
RC4&RC5
ย 
Message Authentication Code & HMAC
Message Authentication Code & HMACMessage Authentication Code & HMAC
Message Authentication Code & HMAC
ย 
Key Management and Distribution
Key Management and DistributionKey Management and Distribution
Key Management and Distribution
ย 
Network security cryptographic hash function
Network security  cryptographic hash functionNetwork security  cryptographic hash function
Network security cryptographic hash function
ย 
Classical encryption techniques
Classical encryption techniquesClassical encryption techniques
Classical encryption techniques
ย 
What is AES? Advanced Encryption Standards
What is AES? Advanced Encryption StandardsWhat is AES? Advanced Encryption Standards
What is AES? Advanced Encryption Standards
ย 
Asymmetric Cryptography
Asymmetric CryptographyAsymmetric Cryptography
Asymmetric Cryptography
ย 
Symmetric and asymmetric key
Symmetric and asymmetric keySymmetric and asymmetric key
Symmetric and asymmetric key
ย 
Digital signature schemes
Digital signature schemesDigital signature schemes
Digital signature schemes
ย 
AES Cryptosystem
AES CryptosystemAES Cryptosystem
AES Cryptosystem
ย 
Secure Hash Algorithm
Secure Hash AlgorithmSecure Hash Algorithm
Secure Hash Algorithm
ย 
Pgp pretty good privacy
Pgp pretty good privacyPgp pretty good privacy
Pgp pretty good privacy
ย 

Viewers also liked

Aes (advance encryption standard)
Aes (advance encryption standard) Aes (advance encryption standard)
Aes (advance encryption standard)
Sina Manavi
ย 
Secure hashing algorithm
Secure hashing algorithmSecure hashing algorithm
Secure hashing algorithm
Karteek Paruchuri
ย 
02 introduction to network security
02 introduction to network security02 introduction to network security
02 introduction to network security
Joe McCarthy
ย 
Data encryption standard (des)
Data encryption standard  (des)Data encryption standard  (des)
Data encryption standard (des)
Mecheko Sha
ย 
Data encryption standard
Data encryption standardData encryption standard
Data encryption standard
Prasad Prabhu
ย 

Viewers also liked (20)

Aes (advance encryption standard)
Aes (advance encryption standard) Aes (advance encryption standard)
Aes (advance encryption standard)
ย 
Blowfish Cryptosystem
Blowfish Cryptosystem Blowfish Cryptosystem
Blowfish Cryptosystem
ย 
Secure hashing algorithm
Secure hashing algorithmSecure hashing algorithm
Secure hashing algorithm
ย 
Classical Encryption Techniques
Classical Encryption TechniquesClassical Encryption Techniques
Classical Encryption Techniques
ย 
Network Security 1st Lecture
Network Security 1st LectureNetwork Security 1st Lecture
Network Security 1st Lecture
ย 
OSI Security Architecture
OSI Security ArchitectureOSI Security Architecture
OSI Security Architecture
ย 
Chapter 3: Block Ciphers and the Data Encryption Standard
Chapter 3: Block Ciphers and the Data Encryption StandardChapter 3: Block Ciphers and the Data Encryption Standard
Chapter 3: Block Ciphers and the Data Encryption Standard
ย 
02 introduction to network security
02 introduction to network security02 introduction to network security
02 introduction to network security
ย 
Types of attacks and threads
Types of attacks and threadsTypes of attacks and threads
Types of attacks and threads
ย 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Security
ย 
Computer security threats & prevention
Computer security threats & preventionComputer security threats & prevention
Computer security threats & prevention
ย 
Network Security & Attacks
Network Security & AttacksNetwork Security & Attacks
Network Security & Attacks
ย 
Different types of attacks in internet
Different types of attacks in internetDifferent types of attacks in internet
Different types of attacks in internet
ย 
Network Attacks
Network AttacksNetwork Attacks
Network Attacks
ย 
Trible data encryption standard (3DES)
Trible data encryption standard (3DES)Trible data encryption standard (3DES)
Trible data encryption standard (3DES)
ย 
Data encryption standard (des)
Data encryption standard  (des)Data encryption standard  (des)
Data encryption standard (des)
ย 
Data encryption standard
Data encryption standardData encryption standard
Data encryption standard
ย 
Cryptography
CryptographyCryptography
Cryptography
ย 
Advanced Encryption Standard (AES)
Advanced Encryption Standard (AES)Advanced Encryption Standard (AES)
Advanced Encryption Standard (AES)
ย 
cns 2marks
cns 2markscns 2marks
cns 2marks
ย 

Similar to AES-Advanced Encryption Standard

Renas Rajab Asaad
Renas Rajab Asaad Renas Rajab Asaad
Renas Rajab Asaad
Renas Rekany
ย 
Aes 128 192_256_bits_project_report
Aes 128 192_256_bits_project_reportAes 128 192_256_bits_project_report
Aes 128 192_256_bits_project_report
sakhi rehman
ย 
Iaetsd an survey of efficient fpga implementation of advanced encryption
Iaetsd an survey of efficient fpga implementation of advanced encryptionIaetsd an survey of efficient fpga implementation of advanced encryption
Iaetsd an survey of efficient fpga implementation of advanced encryption
Iaetsd Iaetsd
ย 

Similar to AES-Advanced Encryption Standard (20)

Advance Encryption Standard (A-E-S).pptx
Advance Encryption Standard (A-E-S).pptxAdvance Encryption Standard (A-E-S).pptx
Advance Encryption Standard (A-E-S).pptx
ย 
Renas Rajab Asaad
Renas Rajab Asaad Renas Rajab Asaad
Renas Rajab Asaad
ย 
Encryption techniqudgfhgvj,hbkes (2).pptx
Encryption techniqudgfhgvj,hbkes (2).pptxEncryption techniqudgfhgvj,hbkes (2).pptx
Encryption techniqudgfhgvj,hbkes (2).pptx
ย 
Information and network security 24 advanced encryption standard aes
Information and network security 24 advanced encryption standard aesInformation and network security 24 advanced encryption standard aes
Information and network security 24 advanced encryption standard aes
ย 
Lecture # 007 AES.pptx
Lecture # 007 AES.pptxLecture # 007 AES.pptx
Lecture # 007 AES.pptx
ย 
Information and data security advanced encryption standard (aes)
Information and data security advanced encryption standard (aes)Information and data security advanced encryption standard (aes)
Information and data security advanced encryption standard (aes)
ย 
Aes 128 192_256_bits_project_report
Aes 128 192_256_bits_project_reportAes 128 192_256_bits_project_report
Aes 128 192_256_bits_project_report
ย 
Data encryption techniques and standard
Data encryption techniques and standardData encryption techniques and standard
Data encryption techniques and standard
ย 
Implementation of Various Cryptosystem Using Chaos
Implementation of Various Cryptosystem Using ChaosImplementation of Various Cryptosystem Using Chaos
Implementation of Various Cryptosystem Using Chaos
ย 
Final report
Final reportFinal report
Final report
ย 
AES.ppt
AES.pptAES.ppt
AES.ppt
ย 
Ch05
Ch05Ch05
Ch05
ย 
Aes
AesAes
Aes
ย 
Information and data security block cipher and the data encryption standard (...
Information and data security block cipher and the data encryption standard (...Information and data security block cipher and the data encryption standard (...
Information and data security block cipher and the data encryption standard (...
ย 
Iaetsd an survey of efficient fpga implementation of advanced encryption
Iaetsd an survey of efficient fpga implementation of advanced encryptionIaetsd an survey of efficient fpga implementation of advanced encryption
Iaetsd an survey of efficient fpga implementation of advanced encryption
ย 
694 lecture1aes
694 lecture1aes694 lecture1aes
694 lecture1aes
ย 
CNS2 unit 2.pdf
CNS2 unit 2.pdfCNS2 unit 2.pdf
CNS2 unit 2.pdf
ย 
Cryptography
CryptographyCryptography
Cryptography
ย 
Block Ciphers and DES.pptx
Block Ciphers and DES.pptxBlock Ciphers and DES.pptx
Block Ciphers and DES.pptx
ย 
Fundamentals of Information Encryption
Fundamentals of Information EncryptionFundamentals of Information Encryption
Fundamentals of Information Encryption
ย 

Recently uploaded

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
SUHANI PANDEY
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
ย 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
KreezheaRecto
ย 

Recently uploaded (20)

Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
ย 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
ย 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
ย 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
ย 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
ย 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
ย 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
ย 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
ย 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
ย 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
ย 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
ย 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
ย 

AES-Advanced Encryption Standard

  • 2. What is Cryptography? Cryptography is the art of protecting information by transforming the original message, called plaintext into an encoded message, called a cipher or ciphertext. ABC (meaningful message)-> ZYX(cipher)
  • 3. What is AES? โ— AES is an encryption standard chosen by the National Institute of Standards and Technology(NIST), USA to protect classified information. It has been accepted world wide as a desirable algorithm to encrypt sensitive data. โ— It is a block cipher which operates on block size of 128 bits for both encrypting as well as decrypting. โ— Each Round performs same operations.
  • 4. Why AES? โ— In 1990's the cracking of DES algorithm became possible. โ— Around 50hrs of bruteforcing allowed to crack the message. โ— NIST started searching for new feasible algorithm and proposed its requirement in 1997. โ— In 2001 Rijndael algorithm designed by Rijment and Daemon of Belgium was declared as the winner of the competition. โ— It met all Security, Cost and Implementation criteria.
  • 5. How Does it works? โ— AES basically repeats 4 major functions to encrypt data.It takes 128 bit block of data and a key[laymans term password] and gives a ciphertext as output.The functions are: I. Sub Bytes II.Shift Rows III.Mix Columns IV.Add Key
  • 6. How Does it works? โ— The number of rounds performed by the algorithm strictly depends on the size of key. โ— The following table gives overview of no. Of rounds performed with the input of varying key lengths: Key Size(in bits) Rounds 128.................................................10 192.................................................12 256.................................................14 The larger the number of keys the more secure will be the data. The time taken by s/w to encrypt will increase with no. of rounds.
  • 7. How Does it works? DEm(128bits) m(128bits) k k E(m,k) D(n,k) n(128bits) n(128bits) Here, E=encryption function for a symmetric block cipher m=plaintext message of size 128bits n=ciphertext k=key of size 128bits which is same for both encryption and decryption D= Decryption function for symmetric block cipher
  • 8. Steps for encryption and decryption
  • 9. Analysis of Steps โ— KeyExpansions- In the key Expansion process the given 128 bits cipher key is stored in [4]x[4] bytes matrix (16*8=128 bits) and then the four column words of the key matrix is expanded into a schedule of 44 words (44*4=176) resulting in 11 round keys (176/11=16 bytes or 128 bits). โ— Number of round keys = Nr + 1. Where Nr is the number of rounds (which is 10 in case of 128 bits key size) So here the round keys = 11.
  • 11. Analysis of Steps โ— SubBytes- Each element of the matrix is replaced by the an element of s-box matrix.
  • 12. Analysis of Steps โ— SubBytes For an element {d1} corresponding value is {3e} Rijndael S-box
  • 13. Analysis of Steps โ— SubBytes โ— The S-box is a special lookup table which is constructed by Galois fields. โ— The Generating function used in this algorithm is GF(2^8) โ— i.e. 256 values are possible โ— The elements of the sbox are written in hexadecimal system
  • 14. Analysis of Steps โ— Shift Rows โ— In this step rows of the block are cylindrically shifted in left direction. โ— The first row is untouched , the second by one shift, third by two and fourth by 3.
  • 15. Analysis of Steps โ— Shift Rows Resulting matrix after shift operation
  • 16. Analysis of Steps โ— Mix columns โ— This is the most important part of the algorithm โ— It causes the flip of bits to spread all over the block โ— In this step the block is multiplied with a fixed matrix. โ— The multiplication is field multiplication in galois field. โ— For each row there are 16 multiplication, 12 XORs and a 4 byte output.
  • 18. Analysis of Steps โ— Add round key
  • 19. Analysis of Steps โ— Add round key โ— In this step each byte is XOR-ed with corresponding element of key's matrix. โ— Once this step is done the keys are no longer available for this step. Using the same key will weaken the algorithm. โ— To overcome this problem keys are expanded.
  • 20. Analysis of Steps โ— In the last round the mix column step is skipped. โ— It is not documented anywhere why this is done but recently a paper was published against this method highlighting the weakening of cipher text.
  • 21. Attacks It is similar to the exhaustive key search attack(brute force attack - trying all the possible set of keys) but it is adaptive. It is 4 times better than the exhaustive key search. But it is infeasible using current technology on block cipher having a keyspace of 128 bits and above. There are more advanced attack on AES-256 bits like the Related Key Attack, which involves several distinct keys linked together by a common relation which reduces the keyspace to 99.5 bits which is also infeasible.