added Encryption to CPE449
This commit is contained in:
Binary file not shown.
1
CPE449/encryption/64bytefile.txt
Normal file
1
CPE449/encryption/64bytefile.txt
Normal file
@ -0,0 +1 @@
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaskjduhiGUQd7327qfaajuksjalhdjadshjaaaaaa
|
BIN
CPE449/encryption/cipher.bin
Normal file
BIN
CPE449/encryption/cipher.bin
Normal file
Binary file not shown.
12
CPE449/encryption/decryptFile.sh
Executable file
12
CPE449/encryption/decryptFile.sh
Executable file
@ -0,0 +1,12 @@
|
||||
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
|
3546
CPE449/encryption/dictionary.txt
Normal file
3546
CPE449/encryption/dictionary.txt
Normal file
File diff suppressed because it is too large
Load Diff
12
CPE449/encryption/encryptFile.sh
Executable file
12
CPE449/encryption/encryptFile.sh
Executable file
@ -0,0 +1,12 @@
|
||||
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
|
2
CPE449/encryption/padding.sh
Normal file
2
CPE449/encryption/padding.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
|
BIN
CPE449/encryption/pic_aes-128-cbc.bmp
Normal file
BIN
CPE449/encryption/pic_aes-128-cbc.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 181 KiB |
BIN
CPE449/encryption/pic_aes-128-ecb.bmp
Normal file
BIN
CPE449/encryption/pic_aes-128-ecb.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 181 KiB |
BIN
CPE449/encryption/pic_original.bmp
Normal file
BIN
CPE449/encryption/pic_original.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 181 KiB |
1
CPE449/encryption/task3-decrypted-cbc.txt
Normal file
1
CPE449/encryption/task3-decrypted-cbc.txt
Normal file
@ -0,0 +1 @@
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<EFBFBD><EFBFBD><EFBFBD><EFBFBD>]o<><01>E`<60>U·<55>aaaaaaaabaaaaaaaskjduhiGUQd7327qfaajuksjalhdjadshjaaaaaa
|
1
CPE449/encryption/task3-decrypted-cfb.txt
Normal file
1
CPE449/encryption/task3-decrypted-cfb.txt
Normal file
@ -0,0 +1 @@
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaqaaaaaaa-5<><35><1E> <19><>S<EFBFBD><53>?Q<>skjduhiGUQd7327qfaajuksjalhdjadshjaaaaaa
|
1
CPE449/encryption/task3-decrypted-ecb.txt
Normal file
1
CPE449/encryption/task3-decrypted-ecb.txt
Normal file
@ -0,0 +1 @@
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.<2E>P<EFBFBD>f<EFBFBD>Z<1E>t<EFBFBD><74><0E>V<EFBFBD>faajuksjalhdjadshjaaaaaa
|
1
CPE449/encryption/task3-decrypted-ofb.txt
Normal file
1
CPE449/encryption/task3-decrypted-ofb.txt
Normal file
@ -0,0 +1 @@
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaqaaaaaskjduhiGUQd7327qfaajuksjalhdjadshjaaaaaa
|
1
CPE449/encryption/task3-encrypted-cbc.txt
Normal file
1
CPE449/encryption/task3-encrypted-cbc.txt
Normal file
@ -0,0 +1 @@
|
||||
x<EFBFBD>R<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>닅<03>1aT<61><54><19>zpX<70>IBH<42><1F><><EFBFBD><EFBFBD><EFBFBD>=<3D>z<EFBFBD>L<EFBFBD><4C><EFBFBD>X<EFBFBD>/'<27><>;RaR<61><10><><EFBFBD>&ܙ<><DC99><EFBFBD>C<EFBFBD>C<EFBFBD>6`L<16>4<EFBFBD><34>w4<0C>0.<2E>ЋR.3H<33><48><EFBFBD><EFBFBD><0C>V<EFBFBD>"b<>WO<57>
|
BIN
CPE449/encryption/task3-encrypted-cfb.txt
Normal file
BIN
CPE449/encryption/task3-encrypted-cfb.txt
Normal file
Binary file not shown.
1
CPE449/encryption/task3-encrypted-ecb.txt
Normal file
1
CPE449/encryption/task3-encrypted-ecb.txt
Normal file
@ -0,0 +1 @@
|
||||
9t;<3B><>T~<7E>:<3A><><16>B9t;<3B><>T~<7E>:<3A><><16>B9t;<3B><>T~<7E>:<3A><><16>B9t;<3B><>T~<7E>:<3A><><16>BFM<46>]<5D>Ȱ<EFBFBD>ߛ.<2E><>"<22><><EFBFBD>k<> %<25><><1D>#}Z<>T<EFBFBD><54><EFBFBD><EFBFBD>/g<><67>U<EFBFBD><55>!<21><>N
|
BIN
CPE449/encryption/task3-encrypted-ofb.txt
Normal file
BIN
CPE449/encryption/task3-encrypted-ofb.txt
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
[{"analyzerName":"intellisense-members-lstm-pylance","languageName":"python","identity":{"modelId":"E61945A9A512ED5E1A3EE3F1A2365B88F8FE","outputId":"E4E9EADA96734F01970E616FAB2FAC19","modifiedTimeUtc":"2020-08-11T14:06:50.811Z"},"filePath":"E61945A9A512ED5E1A3EE3F1A2365B88F8FE_E4E9EADA96734F01970E616FAB2FAC19","lastAccessTimeUtc":"2022-08-23T17:00:15.943Z"}]
|
Reference in New Issue
Block a user