From ccf7012b7e43b3d03ac14650e0f5aafdd00260bb Mon Sep 17 00:00:00 2001 From: Bill Buchanan Date: Tue, 2 Feb 2021 19:56:29 +0000 Subject: [PATCH] Update README.md --- unit02_symmetric/lab/README.md | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/unit02_symmetric/lab/README.md b/unit02_symmetric/lab/README.md index b3a4561..f5ecb79 100644 --- a/unit02_symmetric/lab/README.md +++ b/unit02_symmetric/lab/README.md @@ -252,32 +252,27 @@ if (len(sys.argv)>1): if (len(sys.argv)>2): password=sys.argv[2] -``` +``` Now determine the cipher text for the following (the first example has already been completed): -Message Key CMS Cipher -“hello” “hello123” - 0a7ec77951291795bac6690c9e7f4c0d -“inkwell” “orange” - -“security” “qwerty” - -“Africa” “changeme” +| Message | Key | CMS Cipher +|-----------|-----------|-----------| +| “hello” | “hello123” | 0a7ec77951291795bac6690c9e7f4c0d +| “inkwell” | “orange” | | +| “security” | “qwerty”| | +| “Africa” | “changeme”| | Now copy your code and modify it so that it implements 64-bit DES and complete the table (Ref to: http://asecuritysite.com/encryption/padding_des): -Message Key CMS Cipher - -“hello” “hello123” 8f770898ddb9fb38 - -“inkwell” “orange” - -“security” “qwerty” - -“Africa” “changeme” +| Message | Key | CMS Cipher +|-----------|-----------|-----------| +|“hello” | “hello123” | 8f770898ddb9fb38 | +|“inkwell”| “orange”| | +|“security”| “qwerty”| | +|“Africa”| “changeme”| | Now modify the code so that the user can enter the values from the keyboard, such as with: