How to solve AES example? | AES Encryption Example | AES solved Example | AES Example solution

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มิ.ย. 2024
  • AES Example | AES Encryption Example | AES solved Example | Solved Example of AES encryption | AES Transformation Function
    Follow my blog: www.chiragbhalodia.com/2021/0...
    In this video, I have explained introduction of AES. Then explained all transformation fuctions of AES with example (Example from William Stallings book) is in this video. Watch carefully. AES Solved example.
    Introduction of AES:
    AES uses 128 bits of plain text. AES consists of multiple rounds of processing different key bits like,
    128 bits key - perform 10 rounds of encryption
    192 bits key - perform 12 rounds of encryption.
    256 bits key - perform 14 rounds of encryption.
    For encryption, each round consists of the following four steps: Sub Bytes,
    Shift Rows, Mix Columns, Add Round Key.
    Above steps also called AES transformation function.
    AES Sub BytesTransformation Function:
    First transformation function of AES is called as Substitute Bytes (Sub Bytes). It is also known as forward substitute bytes transformation. AES defines a 16 x 16 matrix of byte values, called an S-box, that contains a permutation of all possible 256 8-bit values. These row and column values serve as indexes into the S-box to select a unique 8-bit output value.
    AES Shift Rows Transformation Function:
    Second transformation function of AES is called as Shift Rows. It is also called as forward shift row transformation. Rules of shifting rows are as below,
    Row 1 ⇒ No Shifting
    Row 2 ⇒ 1 byte circular left shift
    Row 3 ⇒ 2 bytes circular left shift
    Row 4 ⇒ 3 bytes circular left shift
    AES Mix Column Transformation Function:
    Third transformation function of AES is called as Mix Columns, operates on each column individually. Each byte of a column is mapped into a new value that is a function of all four bytes in that column. Here in this function State Array is Output of Shift Rows function.
    AES Add Round Key Transformation Function:
    Fourth transformation function of AES is called as Add Round Key. It is also known as forward add round key transformation. The 128 bits of State are bitwise XORed with the 128 bits of the round key. Add Round Key proceeds one column at a time.
    0:00 Introduction
    0:15 Outline
    0:45 Introdcution of AES
    2:13 AES Sub Bytes (Explain with example)
    5:47 AES Shift Rows (Explain with example)
    8:50 AES Mix Column (Explain with example)
    32:27 AES Add Round Key (Explain with example)
    If you like my video contents, please LIKE, COMMENT, SUBSCRIBE & SHARE with your friends.
    --------------------------------------------------------------------------------------------------------------
    Check out other video on my channel
    Block Cipher and Stream Cipher:
    • Block Cipher and Strea...
    Confusion & Diffusion (Frustrated Statistical Analysis or Claud Shannon Properties):
    • Confusion | Diffusion ...
    Feistel Cipher Structure (to understand DES):
    • Feistel Cipher Structu...
    Data Encryption Standard (DES) Algorithm:
    • DES Algorithm | Workin...
    DES Example using Animation:
    • DES Encryption Example...
    Strength & Weakness of DES, Avalanche effect in DES:
    • Strength and Weakness ...
    Advanced Encryption Standard (AES) Algorithm with structure:
    • AES Algorithm | Advanc...
    AES Example using Animation:
    • AES Example | AES Encr...
    Key expansion in AES:
    • Key Expansion in AES |...
    --------------------------------------------------------------------------------------------------------------
    You can always connect with me at:
    Follow my blog:
    www.chiragbhalodia.com
    Like my Facebook page:
    / chiragbhalodia25
    Follow me on Instagram:
    / chiragbhalodia.25
    Follow me on twitter:
    / chiragsbhalodia
    Join telegram group:
    t.me/chiragbhalodia
    Subscribe me on youtube:
    / chiragbhalodia
    Follow me on Quora:
    www.quora.com/profile/Chirag-...
    --------------------------------------------------------------------------------------------------------------
    Playlist available on my channel:
    Network Security (CNS, INS, IS):
    • Network Security All U...
    Computer Network (CN) with animation:
    • Computer Network (CN) ...
    VFX Animation & Fun Videos:
    • VFX & Fun videos
    Comupter Organization & Architecture (COA, CA, CO):
    • Computer Organization ...
    Assembly Language Programming:
    • Assembly Language Tuto...
    Computer Graphics:
    • Computer Graphics Algo...
    #chirag_bhalodia
    #chiragbhalodia
    #networksecurity
    #cryptography
    #AES_Solved_Example
    #How_to_solve_aes_example
    Keep learning, keep supporting 🤝✨💯

ความคิดเห็น • 65

  • @aaradhyakhanna399
    @aaradhyakhanna399 4 หลายเดือนก่อน +3

    watched this one night before examination. Explaned simply with good slideshow. Thank you sir.

    • @ChiragBhalodia
      @ChiragBhalodia  3 หลายเดือนก่อน

      Thanks....Glad it was helpful!...
      Please share with others...
      Please subscribe my channel.....
      Please follow my blog: chiragbhalodia.com

  • @abdullahalwawi5559
    @abdullahalwawi5559 ปีที่แล้ว +4

    Thanks sir
    The best AES video i watched so far

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว +1

      Sorry for late reply...!!!!
      Glad you liked it!...!!!! Please share with others....
      Please subscribe my channel....
      Please follow my blog: www.chiragbhalodia.com/2021/09/aes-algorithm.html

  • @tabasamalam5868
    @tabasamalam5868 ปีที่แล้ว +2

    What a great explanation with slide show. Thanks a lot 👍👍

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว

      Glad you liked it....!!!!!
      Please share with others....
      Please subscribe my channel...!!!!
      Please follow my blog: chiragbhalodia.com

  • @user-fn9uw5zr1x
    @user-fn9uw5zr1x ปีที่แล้ว +1

    very good explanation .👍 It is the best video for understanding AES 👍

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว

      Glad to hear that....!!!! Please share with others....
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @ThefamousMrcroissant
    @ThefamousMrcroissant 11 หลายเดือนก่อน +1

    Damn, really rigorous! Great explanation.

    • @ChiragBhalodia
      @ChiragBhalodia  11 หลายเดือนก่อน

      Your word really motivete me do something extra ordinary...!!!
      Please share with others.....
      Please subscribe my channel....!!!
      Please follow my blog: chiragbhalodia.com

    • @sambangialekhya4488
      @sambangialekhya4488 7 หลายเดือนก่อน

      could u explain how did we get 47 for 01000111

  • @TheFkntool
    @TheFkntool ปีที่แล้ว +1

    Awesome vid man - good work

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว

      Thank u so much.... please share with others....
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @mahnoorbatool2095
    @mahnoorbatool2095 2 หลายเดือนก่อน +1

    Literally amazingg ❤❤❤❤

    • @ChiragBhalodia
      @ChiragBhalodia  2 หลายเดือนก่อน

      Thanks..... Please share with others....
      Please subscribe my channel....
      Please follow my blog: chiragbhalodia.com
      Also check AES Decryption example: th-cam.com/video/CTqvPze8uv8/w-d-xo.html

  • @uttamraddiya1781
    @uttamraddiya1781 หลายเดือนก่อน +1

    Tysm Bhai, u made my day

    • @ChiragBhalodia
      @ChiragBhalodia  23 วันที่ผ่านมา

      You're welcome!...
      Please share with others...
      Please ssubscribe my channel...
      Please follwo my blog: chiragbhalodia.com

  • @vikass5187
    @vikass5187 9 หลายเดือนก่อน +1

    Best video.. ❤should have done key expansion also

    • @ChiragBhalodia
      @ChiragBhalodia  7 หลายเดือนก่อน

      Thanks for watching..... Please share with others....
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @ShaanzeBasharat
    @ShaanzeBasharat ปีที่แล้ว +1

    thankyou so much

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว

      You are so welcome!... Please share with others....
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @shabeersyslab877
    @shabeersyslab877 ปีที่แล้ว +1

    amazing dear, great explanation

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว

      Glad to hear that.... Please share with others....
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @ranarajput206
    @ranarajput206 5 หลายเดือนก่อน +1

    Thanks 😊

    • @ChiragBhalodia
      @ChiragBhalodia  4 หลายเดือนก่อน

      You are welcome...
      Please share with others...
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @aliyahussain5040
    @aliyahussain5040 2 หลายเดือนก่อน +1

    Best video

    • @ChiragBhalodia
      @ChiragBhalodia  2 หลายเดือนก่อน

      Thanks..... Please share with others....
      Please subscribe my channel....
      Please follow my blog: chiragbhalodia.com
      Also check AES Decryption example: th-cam.com/video/CTqvPze8uv8/w-d-xo.html

  • @rabiasaif5191
    @rabiasaif5191 5 หลายเดือนก่อน

    Thanku Soo much..I searched all the lectures on you tube..but it was the best❤❤

    • @ChiragBhalodia
      @ChiragBhalodia  4 หลายเดือนก่อน

      Thank you so much....
      Please share with others...
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @jephinjohn1695
    @jephinjohn1695 ปีที่แล้ว +1

    Is the round key already defined or we are manually setting it for our project? And X^8 = x^4+x^3+x right? 1 is not there yeah? Like 1 was already there before using irreducible polynomial

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว

      Yes it is already defined....else you can defined manually also....
      X^8 = x^4+x^3+x+1 is the irreducible polynomial.
      Sorry for late reply....!!!!
      Please subscribe my channel....Please share with others....
      Please follow my blog: chiragbhalodia.com

  • @user-zr8xi2dw2n
    @user-zr8xi2dw2n 4 หลายเดือนก่อน +1

    good job

    • @ChiragBhalodia
      @ChiragBhalodia  4 หลายเดือนก่อน

      Thank you so much....
      Please share with others...
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @naveennayak989
    @naveennayak989 ปีที่แล้ว +1

    Sir how did you write S Box permutation table?
    will they give the table or prepare our own like the table in video 16*16?

    • @tunghoang1322
      @tunghoang1322 ปีที่แล้ว +1

      It's a given table by the algorithms, dear

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว +1

      Sorry for late reply...
      This table is already defined when AES was implemented.
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @muhammadshaban3477
    @muhammadshaban3477 11 หลายเดือนก่อน +1

    From where predefined matrix came? Whether it is given in question or we assume randomly in question?
    Can anyone tell?

    • @ChiragBhalodia
      @ChiragBhalodia  10 หลายเดือนก่อน

      Sorry for late reply....
      Predefined matrix is already defined....
      Please share with others....
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @majetypraneeth7688
    @majetypraneeth7688 2 หลายเดือนก่อน +1

    sir, can u tell me how we got the round key in step 4, and can u please tell me the question for this example

    • @ChiragBhalodia
      @ChiragBhalodia  2 หลายเดือนก่อน +1

      Round key is already given with the question...
      This is the encryption process using AES algorithm.
      AES Decryption Process: th-cam.com/video/CTqvPze8uv8/w-d-xo.html
      In exam, it may be asked find any one value of the 4x4 matrix.
      Please share with others....
      Please subscribe to my channel...
      Please follow my blog: chiragbhalodia.com
      Sorry for late reply.

  • @lorahristova4351
    @lorahristova4351 ปีที่แล้ว +1

    Sir, how is x^8 equal to x^4 + x^3 + x + 1 (13:13 in the video) I didn't quite get that?

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว

      Hello Lora,
      Here I have used the irreducible polynomial theorem concept. So, x^8 is convert into x^4 + x^3 + x + 1.
      Why do I have to convert X^8?
      Because the maximum power should be x^7.
      Please follow my blog: chiragbhalodia.com
      Please subscribe my channel..

    • @motivationalcomred
      @motivationalcomred ปีที่แล้ว

      @@ChiragBhalodia take 2^8 = 2^4+2^3+2+1 is 128=27?

  • @Soccersillies
    @Soccersillies ปีที่แล้ว +1

    Sir please make a video on how to generate a 128 bit key

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว

      Sorry for late reply...!!!
      I think this one is helpful: www.chiragbhalodia.com/2021/10/key-expansion-in-AES.html
      Please share with others....
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @forgodalone7416
    @forgodalone7416 ปีที่แล้ว +2

    Why does 03 hex binary value keep changing from 0000 0011 to 0000 0110?

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว +3

      Ohhh dear thank you so much for your query.... It was my typing mistake.... I am apolozige for that.....Thank you so much for watching my video in detailed....

  • @ranausama5001
    @ranausama5001 หลายเดือนก่อน +1

    Last step ma Round key matrix kasa aii Ya bata da😊

    • @ChiragBhalodia
      @ChiragBhalodia  16 วันที่ผ่านมา

      Round key matrix already available form the first step only.

  • @vishwabiradar96
    @vishwabiradar96 2 หลายเดือนก่อน +1

    Hii Sir , Vishwa here
    Sir what u took the value of 46 in binary is wrong if we convert it into decimal its 70 the binary for 46 is 0010 1110

    • @ChiragBhalodia
      @ChiragBhalodia  หลายเดือนก่อน

      For example, 47 is hexadecimal value.. So, 4 = 0100 & 7 = 0111. 47 = 0100 0111..... 46 (in hexadecimal) = 0100 0110 (Binary) and 46 (Decimal) = 0010 1110 (BInary)..... You also can check in online converter.... still if you have any query, you can join my telegram group
      Please share this video with others...
      Please subscribe my channel....
      Please follow my blog: chiragbhalodia.com
      Sorry for the delayed reply....

    • @HolyThugQuotes
      @HolyThugQuotes 20 วันที่ผ่านมา +1

      87 to binary is supposed to be "01010111"
      I need clarification

    • @ChiragBhalodia
      @ChiragBhalodia  16 วันที่ผ่านมา

      87 (in decimal) = 0101 0111
      87 (in hex) => 8 = 1000, 7 = 0111 so, 87 = 1000 0111

  • @abdulrehmanashraf2868
    @abdulrehmanashraf2868 ปีที่แล้ว +2

    DES b bta do

    • @ChiragBhalodia
      @ChiragBhalodia  ปีที่แล้ว +1

      I haven't solved example but I have just animated video....
      Video Link: th-cam.com/video/3YBwhWuXZ0o/w-d-xo.html

  • @sambangialekhya4488
    @sambangialekhya4488 7 หลายเดือนก่อน +1

    sir
    could u explain how did we get 47 for 01000111

    • @ChiragBhalodia
      @ChiragBhalodia  7 หลายเดือนก่อน

      47 is hexacecimal value.. So, 4 = 0100 & 7 = 0111. 47 = 0100 0111

    • @sambangialekhya4488
      @sambangialekhya4488 7 หลายเดือนก่อน

      @@ChiragBhalodiasir how did we know that 4 =0100 and 7=0111.how to know these values sir?

    • @ChiragBhalodia
      @ChiragBhalodia  7 หลายเดือนก่อน

      its just convert into binary number..... Do you know number system???? Binary, Octal, Decimal, Hexa Decimal?????

  • @sadiarizwan932
    @sadiarizwan932 14 วันที่ผ่านมา +1

    Es main 10 rounds pory ho gae hain hain sir

    • @ChiragBhalodia
      @ChiragBhalodia  13 วันที่ผ่านมา

      No, this one is 1st round only. Still nine rounds are pending.

  • @ilmofworld4823
    @ilmofworld4823 5 หลายเดือนก่อน +2

    WHERE IS YOUR ADD ROUND KEY

    • @ChiragBhalodia
      @ChiragBhalodia  หลายเดือนก่อน

      Please watch the video carefully. All four steps i have preformed during encryption process. Please Share this video with others...
      Please susbcribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @s974y9
    @s974y9 7 หลายเดือนก่อน +1

    I’ve never seen a perfect explanation like yours, thank you so much 🤍🤍🤍

    • @ChiragBhalodia
      @ChiragBhalodia  7 หลายเดือนก่อน

      Happy to hear that!...Thanks for watching..... Please share with others....
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com
      Sorry for late reply...._/\_