Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Advanced Encryption Standard (AES)-Example-Cipher (Step1)

Sun May 06, 2007 10:52 pm

One of the most powerful ful encrption algorthims is the AES.There not currently practical attacks to AES.
This is the Cipher

keyword : justmejustmejustmejustme
PlainText : codemilescodemilescodemiles
************************CIPHER***********************************
-- Plain Text --
| 63 6D 73 65 |
| 6F 69 63 6D |
| 64 6C 6F 69 |
| 65 65 64 6C |

-- Key Hex --
| 6A 6D 73 6A |
| 75 65 74 75 |
| 73 6A 6D 73 |
| 74 75 65 74 |

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

**************************************************************

To get the code :
Advanced Encryption Standard Code



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