1
0
UAHCode/CPE449/encryption/decryptFile.sh

13 lines
584 B
Bash
Raw Normal View History

2022-10-03 01:32:22 +00:00
openssl enc -aes-128-cbc -d -in task3-encrypted-cbc.txt -out task3-decrypted-cbc.txt \
-K 00112233445566778889aabbccddeeff \
-iv 0102030405060708
openssl enc -aes-128-ecb -d -in task3-encrypted-ecb.txt -out task3-decrypted-ecb.txt \
-K 00112233445566778889aabbccddeeff \
-iv 0102030405060708
openssl enc -aes-128-cfb -d -in task3-encrypted-cfb.txt -out task3-decrypted-cfb.txt \
-K 00112233445566778889aabbccddeeff \
-iv 0102030405060708
openssl enc -aes-128-ofb -d -in task3-encrypted-ofb.txt -out task3-decrypted-ofb.txt \
-K 00112233445566778889aabbccddeeff \
-iv 0102030405060708