13 lines
548 B
Bash
Executable File
13 lines
548 B
Bash
Executable File
openssl enc -aes-128-cbc -e -in 64bytefile.txt -out task3-encrypted-cbc.txt \
|
|
-K 00112233445566778889aabbccddeeff \
|
|
-iv 0102030405060708
|
|
openssl enc -aes-128-ecb -e -in 64bytefile.txt -out task3-encrypted-ecb.txt \
|
|
-K 00112233445566778889aabbccddeeff \
|
|
-iv 0102030405060708
|
|
openssl enc -aes-128-cfb -e -in 64bytefile.txt -out task3-encrypted-cfb.txt \
|
|
-K 00112233445566778889aabbccddeeff \
|
|
-iv 0102030405060708
|
|
openssl enc -aes-128-ofb -e -in 64bytefile.txt -out task3-encrypted-ofb.txt \
|
|
-K 00112233445566778889aabbccddeeff \
|
|
-iv 0102030405060708
|