From the course: Learning Assembly Language
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Decryption function - Python Tutorial
From the course: Learning Assembly Language
Challenge: Decryption function
(upbeat music) - [Instructor] Now you know how to encrypt using AES, have a look at the decrypt instructions aesdec and aesdeclast in the Intel Instruction Reference in your exercise files. The same key expansion is used for decryption. Start by XORing the cipher with the last set of expanded key material and then work backwards through the key material, undoing the encryption. For each of the middle rounds, the 16 bytes of key material will require modification using the aesimc instruction. Take a few minutes to look at this and see if you can code up the decryption routine and test. Then come back and look at my solution.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Adding a menu and jump table to the Enigmatic encryptor4m 55s
-
(Locked)
Reading and writing the Enigmatic configuration7m 35s
-
(Locked)
Ciphering the data7m 10s
-
(Locked)
Leveraging the x64 AES instructions6m 14s
-
(Locked)
Challenge: Decryption function46s
-
(Locked)
Solution: Decryption function1m 24s
-
-
-
-