-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
44 lines (32 loc) · 1.14 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
MATASANO CRYPTO CHALLENGES
These are my (Carl Winbäck’s) solutions to the Matasano Crypto Challenges.
My solutions are written in Python 3.
ATTENTION: Before you look at this code I urge you to first try solving the
challenges yourself. They are very fun and you’ll learn more that way.
More info about the challenges can be found at the official web site:
http://cryptopals.com/
COMPLETED CHALLENGES
☑ 1. Convert hex to base64
☑ 2. Fixed XOR
☑ 3. Single-byte XOR cipher
☑ 4. Detect single-character XOR
☑ 5. Implement repeating-key XOR
☑ 6. Break repeating-key XOR
☑ 7. AES in ECB mode
☑ 8. Detect AES in ECB mode
☑ 9. Implement PKCS#7 padding
☑ 10. Implement CBC mode
☑ 11. An ECB/CBC detection oracle
☑ 12. Byte-at-a-time ECB decryption (Simple)
☑ 13. ECB cut-and-paste
☑ 14. Byte-at-a-time ECB decryption (Harder)
☑ 15. PKCS#7 padding validation
☑ 16. CBC bitflipping attacks
LICENSE
BSD (See the COPYING file)
DEPENDENCIES
PyCryptodome [https://www.pycryptodome.org/] and pytest [http://pytest.org/] for
the unit tests.
MY CONTACT INFORMATION
WWW: https://www.tunnel53.net/
E-mail: c (at) tunnel53 (dot) net