From cc8a7e9894aeef576af3c1b57fda998bedc7907d Mon Sep 17 00:00:00 2001 From: Pavlos Papadopoulos <44439128+pavlos-p@users.noreply.github.com> Date: Fri, 4 Feb 2022 10:22:15 +0000 Subject: [PATCH] Update possible_ans.md --- unit02_symmetric/lab/possible_ans.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/unit02_symmetric/lab/possible_ans.md b/unit02_symmetric/lab/possible_ans.md index 8e80760..4bf24f3 100644 --- a/unit02_symmetric/lab/possible_ans.md +++ b/unit02_symmetric/lab/possible_ans.md @@ -1,17 +1,17 @@ ## A OpenSSL ### A.1 - A.6 -openssl list-cipher-commands +A.1) openssl list-cipher-commands -openssl version +A.2) openssl version -openssl prime –hex 1111 +A.3) openssl prime –hex 1111 -openssl enc -aes-256-cbc -in myfile.txt -out encrypted.bin +A.4) openssl enc -aes-256-cbc -in myfile.txt -out encrypted.bin -openssl enc -aes-256-cbc -in myfile.txt -out encrypted.bin –base64 +A.5) openssl enc -aes-256-cbc -in myfile.txt -out encrypted.bin –base64 -openssl enc -d -aes-256-cbc -in encrypted.bin -pass pass:napier -base64 +A.6) openssl enc -d -aes-256-cbc -in encrypted.bin -pass pass:napier -base64 ## D Python Coding (Encrypting) ### D.1