An open API service indexing awesome lists of open source software.

https://github.com/rvelhote/cryptopals

Solving Cryptopals Challenges
https://github.com/rvelhote/cryptopals

cryptopals cryptopals-challenges php

Last synced: about 1 month ago
JSON representation

Solving Cryptopals Challenges

Awesome Lists containing this project

README

          

**Cryptopals Crypto Challenges**

These are my attempts to solve the Cryptopals challenges using PHP.

**Crypto Challenge Set 1: Basics**

- [x] Convert hex to base64
- [x] Fixed XOR
- [x] Single-byte XOR cipher
- [x] Detect single-character XOR
- [x] Implement repeating-key XOR
- [x] Break repeating-key XOR
- [x] AES in ECB mode
- [x] Detect AES in ECB mode

**Crypto Challenge Set 2: Block Crypto**

- [x] Implement PKCS#7 padding
- [x] Implement CBC mode
- [x] An ECB/CBC detection oracle
- [ ] Byte-at-a-time ECB decryption (Simple)
- [ ] ECB cut-and-paste
- [ ] Byte-at-a-time ECB decryption (Harder)
- [ ] PKCS#7 padding validation
- [ ] CBC bitflipping attacks