added Encryption to CPE449
This commit is contained in:
parent
8877f512b9
commit
bd4e2127fe
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ÖéþÂ]oážE`ýU·Ö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>シfコZ疸ャ゙ルV「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èRºéîÉü—ÜÙë‹…·1aT²×<19>zpXðIBHšÜÞäçâ=ózÅL´¤¼X¹/'ŒŸ;RaRÁ…¶Î&Ü™Ëã›CÁCÌ6`L…4ë<34>w4Ì0.ùЋR.3H¬ößÇéVÇ"bÂWOÉ
|
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;©ŽT~á:ÓÞèB9t;©ŽT~á:ÓÞèB9t;©ŽT~á:ÓÞèB9t;©ŽT~á:ÓÞèBFMÛ]ßÈ°³ß›.¹À"¢ôàk¨ %Ÿ˜Ý#}Z¨TÁ„À¼/g§ÈUûµ!¾Ñ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"}]
|
Loading…
Reference in New Issue
Block a user