Total members 11889 |It is currently Sun Apr 14, 2024 10:23 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





This is a Decipher of the Example in Step1 (you have to see the cipher step first)

-- Cipher Text --
| 42 9A E2 AA |
| 50 02 EB B4 |
| 02 75 4B B5 |
| 88 50 7F CB |

**************************************************************
************************DECIPHER***********************************
-- key Expantion --
| 6A 6D 73 6A |
| 75 65 74 75 |
| 73 6A 6D 73 |
| 74 75 65 74 |
| F6 20 E1 F8 |
| 83 45 95 8D |
| F0 2F F8 FE |
| 84 5A 9D 8A |
| 4A 7E 9F A7 |
| C9 3B 0A 2A |
| 39 14 F2 D4 |
| BD 4E 6F 5E |
| 61 D6 C7 DD |
| A8 ED CD F7 |
| 91 F9 3F 23 |
| 2C B7 50 7D |
| C0 85 38 AC |
| 68 68 F5 5B |
| F9 91 CA 78 |
| D5 26 9A 05 |
| 27 3D 53 AF |
| 4F 55 A6 F4 |
| B6 C4 6C 8C |
| 63 E2 F6 89 |
| 9F 7F F4 54 |
| D0 2A 52 A0 |
| 66 EE 3E 2C |
| 05 0C C8 A5 |
| 21 97 F2 3F |
| F1 BD A0 9F |
| 97 53 9E B3 |
| 92 5F 56 16 |
| 6E 26 B5 70 |
| 9F 9B 15 EF |
| 08 C8 8B 5C |
| 9A 97 DD 4A |
| FD E7 63 C8 |
| 62 7C 76 27 |
| 6A B4 FD 7B |
| F0 23 20 31 |
| ED 50 A4 44 |
| 8F 2C D2 63 |
| E5 98 2F 18 |
| 15 BB 0F 29 |
-- Key expantintion --
| 6A 6D 73 6A |
| 75 65 74 75 |
| 73 6A 6D 73 |
| 74 75 65 74 |
| F6 20 E1 F8 |
| 83 45 95 8D |
| F0 2F F8 FE |
| 84 5A 9D 8A |
| 4A 7E 9F A7 |
| C9 3B 0A 2A |
| 39 14 F2 D4 |
| BD 4E 6F 5E |
| 61 D6 C7 DD |
| A8 ED CD F7 |
| 91 F9 3F 23 |
| 2C B7 50 7D |
| C0 85 38 AC |
| 68 68 F5 5B |
| F9 91 CA 78 |
| D5 26 9A 05 |
| 27 3D 53 AF |
| 4F 55 A6 F4 |
| B6 C4 6C 8C |
| 63 E2 F6 89 |
| 9F 7F F4 54 |
| D0 2A 52 A0 |
| 66 EE 3E 2C |
| 05 0C C8 A5 |
| 21 97 F2 3F |
| F1 BD A0 9F |
| 97 53 9E B3 |
| 92 5F 56 16 |
| 6E 26 B5 70 |
| 9F 9B 15 EF |
| 08 C8 8B 5C |
| 9A 97 DD 4A |
| FD E7 63 C8 |
| 62 7C 76 27 |
| 6A B4 FD 7B |
| F0 23 20 31 |
| ED 50 A4 44 |
| 8F 2C D2 63 |
| E5 98 2F 18 |
| 15 BB 0F 29 |
-- Start of Round --
| 42 9A E2 AA |
| 50 02 EB B4 |
| 02 75 4B B5 |
| 88 50 7F CB |
-- Round key Value --
| ED 8F E5 15 |
| 50 2C 98 BB |
| A4 D2 2F 0F |
| 44 63 18 29 |
-- After Add round key --
| AF 15 07 BF |
| 00 2E 73 0F |
| A6 A7 64 BA |
| CC 33 67 E2 |
-- After invshiftrows --
| AF 15 07 BF |
| 0F 00 2E 73 |
| 64 BA A6 A7 |
| 33 67 E2 CC |
-- After SubBytes --
| 1B 2F 38 F4 |
| FB 52 C3 8F |
| 8C C0 C5 89 |
| 66 0A 3B 27 |
-- Round key Value --
| FD 62 6A F0 |
| E7 7C B4 23 |
| 63 76 FD 20 |
| C8 27 7B 31 |
-- After Add round key --
| E6 4D 52 04 |
| 1C 2E 77 AC |
| EF B6 38 A9 |
| AE 2D 40 16 |
-- invMix-columns --
| 39 33 28 62 |
| 0B 70 B6 D7 |
| 5D 23 F8 E1 |
| D4 98 3B 43 |
-- After invshiftrows --
| 39 33 28 62 |
| D7 0B 70 B6 |
| F8 E1 5D 23 |
| 98 3B 43 D4 |
-- After SubBytes --
| 5B 66 EE AB |
| 0D 9E D0 79 |
| E1 E0 8D 32 |
| E2 49 64 19 |
-- Round key Value --
| 6E 9F 08 9A |
| 26 9B C8 97 |
| B5 15 8B DD |
| 70 EF 5C 4A |
-- After Add round key --
| 35 F9 E6 31 |
| 2B 05 18 EE |
| 54 F5 06 EF |
| 92 A6 38 53 |
-- invMix-columns --
| D4 8A 36 97 |
| 45 E4 3E 78 |
| 1E C3 4D 8F |
| 57 02 85 03 |
-- After invshiftrows --
| D4 8A 36 97 |
| 78 45 E4 3E |
| 4D 8F 1E C3 |
| 02 85 03 57 |
-- After SubBytes --
| 19 CF 24 85 |
| C1 68 AE D1 |
| 65 73 E9 33 |
| 6A 67 D5 DA |
-- Round key Value --
| 21 F1 97 92 |
| 97 BD 53 5F |
| F2 A0 9E 56 |
| 3F 9F B3 16 |
-- After Add round key --
| 38 3E B3 17 |
| 56 D5 FD 8E |
| 97 D3 77 65 |
| 55 F8 66 CC |
-- invMix-columns --
| D5 F0 83 46 |
| 78 F7 39 FB |
| 39 86 F9 54 |
| 38 41 1C D9 |
-- After invshiftrows --
| D5 F0 83 46 |
| FB 78 F7 39 |
| F9 54 39 86 |
| 41 1C D9 38 |
-- After SubBytes --
| B5 17 41 98 |
| 63 C1 26 5B |
| 69 FD 5B DC |
| F8 C4 E5 76 |
-- Round key Value --
| 9F D0 66 05 |
| 7F 2A EE 0C |
| F4 52 3E C8 |
| 54 A0 2C A5 |
-- After Add round key --
| 2A C7 27 9D |
| 1C EB C8 57 |
| 9D AF 65 14 |
| AC 64 C9 D3 |
-- invMix-columns --
| 93 BA 9C 65 |
| CC F7 E0 92 |
| 2A 07 58 F6 |
| 72 AD 67 0C |
-- After invshiftrows --
| 93 BA 9C 65 |
| 92 CC F7 E0 |
| 58 F6 2A 07 |
| AD 67 0C 72 |
-- After SubBytes --
| 22 C0 1C BC |
| 74 27 26 A0 |
| 5E D6 95 38 |
| 18 0A 81 1E |
-- Round key Value --
| 27 4F B6 63 |
| 3D 55 C4 E2 |
| 53 A6 6C F6 |
| AF F4 8C 89 |
-- After Add round key --
| 05 8F AA DF |
| 49 72 E2 42 |
| 0D 70 F9 CE |
| B7 FE 0D 97 |
-- invMix-columns --
| BA 79 46 04 |
| 13 B6 6E 86 |
| 45 60 76 86 |
| 1A DC E2 C0 |
-- After invshiftrows --
| BA 79 46 04 |
| 86 13 B6 6E |
| 76 86 45 60 |
| DC E2 C0 1A |
-- After SubBytes --
| C0 AF 98 30 |
| DC 82 79 45 |
| 0F DC 68 90 |
| 93 3B 1F 43 |
-- Round key Value --
| C0 68 F9 D5 |
| 85 68 91 26 |
| 38 F5 CA 9A |
| AC 5B 78 05 |
-- After Add round key --
| 00 C7 61 E5 |
| 59 EA E8 63 |
| 37 29 A2 0A |
| 3F 60 67 46 |
-- invMix-columns --
| 81 61 53 A3 |
| E9 00 6C E5 |
| 14 47 08 C3 |
| 2D 42 7B 4F |
-- After invshiftrows --
| 81 61 53 A3 |
| E5 E9 00 6C |
| 08 C3 14 47 |
| 42 7B 4F 2D |
-- After SubBytes --
| 91 D8 50 71 |
| 2A EB 52 B8 |
| BF 33 9B 16 |
| F6 03 92 FA |
-- Round key Value --
| 61 A8 91 2C |
| D6 ED F9 B7 |
| C7 CD 3F 50 |
| DD F7 23 7D |
-- After Add round key --
| F0 70 C1 5D |
| FC 06 AB 0F |
| 78 FE A4 46 |
| 2B F4 B1 87 |
-- invMix-columns --
| 6F 23 30 F2 |
| 0F B9 77 EC |
| 59 55 AB D4 |
| 66 B3 93 59 |
-- After invshiftrows --
| 6F 23 30 F2 |
| EC 0F B9 77 |
| AB D4 59 55 |
| B3 93 59 66 |
-- After SubBytes --
| 06 32 08 04 |
| 83 FB DB 02 |
| 0E 19 15 ED |
| 4B 22 15 D3 |
-- Round key Value --
| 4A C9 39 BD |
| 7E 3B 14 4E |
| 9F 0A F2 6F |
| A7 2A D4 5E |
-- After Add round key --
| 4C FB 31 B9 |
| FD C0 CF 4C |
| 91 13 E7 82 |
| EC 08 C1 8D |
-- invMix-columns --
| 9A 3B E1 CF |
| 97 4B E5 89 |
| C4 93 9C 1B |
| 05 C3 40 A7 |
-- After invshiftrows --
| 9A 3B E1 CF |
| 89 97 4B E5 |
| 9C 1B C4 93 |
| C3 40 A7 05 |
-- After SubBytes --
| 37 49 E0 5F |
| F2 85 CC 2A |
| 1C 44 88 22 |
| 33 72 89 36 |
-- Round key Value --
| F6 83 F0 84 |
| 20 45 2F 5A |
| E1 95 F8 9D |
| F8 8D FE 8A |
-- After Add round key --
| C1 CA 10 DB |
| D2 C0 E3 70 |
| FD D1 70 BF |
| CB FF 77 BC |
-- invMix-columns --
| 01 AD 63 82 |
| FE 01 AD 77 |
| 77 FE F0 AD |
| AD 76 CA F0 |
-- After invshiftrows --
| 01 AD 63 82 |
| 77 FE 01 AD |
| F0 AD 77 FE |
| 76 CA F0 AD |
-- After SubBytes --
| 09 18 00 11 |
| 02 0C 09 18 |
| 17 18 02 0C |
| 0F 10 17 18 |
-- Round key Value --
| 6A 75 73 74 |
| 6D 65 6A 75 |
| 73 74 6D 65 |
| 6A 75 73 74 |
-- state plain --
| 63 6D 73 65 |
| 6F 69 63 6D |
| 64 6C 6F 69 |
| 65 65 64 6C |
*******************************************************************
-- Plain text --
| 63 6D 73 65 |
| 6F 69 63 6D |
| 64 6C 6F 69 |
| 65 65 64 6C |


plaint text (Orginal text) = codemilescodemil

To get the code :
Advanced Encryption Standard Code



_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

hi,
pls i was wondering if i could get the surce code for this algorithm.

anyone have any idea? would reallyappeciate it.


Author:
Newbie
User avatar Posts: 2
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : Advanced Encryption Standard (AES)-Example-Decipher (Step2)
 Advanced Encryption Standard (AES)     -  
 Advanced Encryption Standard (AES)-Example-Cipher (Step1)     -  
 Advanced Encryption Standard (AES)-Java Project     -  
 Ceasar encryption-decryption-cipher-decipher code     -  
 Encryption Algorithm{Data Encryption Standard}     -  
 Data Encryption Standard (DES)     -  
 DES J# Data Encryption Standard     -  
 Data Encryption Standard(DES) using C Language     -  
 AES (Advanced Encryption standards) Java Applet     -  
 Encryption and Decryption encryption Affine cipher code     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com