ctf-crypto - CTF Cryptography Attack Reference
Provides cryptography attack techniques for CTF challenges involving ciphers, hashes, signatures, zero-knowledge proofs, PRNGs, and mathematical cryptography.
Tags
Updated: 2026-12-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Identify applicable crypto attacks
- Analyze RSA attack scenarios
- Analyze ECC and DH weaknesses
- Recover PRNG states
- Solve lattice and LWE problems
- Analyze cipher and oracle weaknesses
Inputs
- CTF challenge descriptions
- Ciphertexts and plaintext samples
- Cryptographic parameters
- Hashes and signatures
- Challenge source files
- Oracle interaction results
Outputs
- Cryptanalysis guidance
- Attack technique selections
- Solver code or commands
- Recovered cryptographic values
- Challenge analysis results
Requirements
- Python packages: pycryptodome, z3-solver, sympy, gmpy2, hashpumpy, fpylll, py_ecc
- hashcat
- libgmp for gmpy2
- Optional SageMath
- Optional RsaCtfTool
- Optional crypto-attacks library
