ctf-crypto

Provide cryptography attack techniques for CTF challenges using Python libraries.

Updated May 12, 2026
One-click install
npx skills add https://github.com/ken3k06/Cryptography-Skills --skill ctf-crypto-ken3k06
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctf-crypto
Source: https://github.com/ken3k06/Cryptography-Skills/tree/main/ctf-crypto
Command: npx skills add https://github.com/ken3k06/Cryptography-Skills --skill ctf-crypto-ken3k06

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pycryptodome, z3-solver, sympy, hashpumpy, fpylll, py_ecc, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides comprehensive cryptography attack techniques for CTF challenges, empowering users to tackle encryption, hashing, signatures, ZKP, PRNG, and mathematical crypto problems efficiently.

Core Features & Use Cases

  • Attack Techniques: Offers a wide range of attack techniques for various cryptographic algorithms and scenarios.
  • Resource Integration: Integrates with tools and libraries like pycryptodome, z3-solver, and sympy for advanced cryptographic operations.
  • Use Case: Whether you are dealing with RSA, AES, ECC, or other complex cryptographic problems in a CTF challenge, this Skill provides the necessary tools and guidance to analyze and exploit vulnerabilities.

Quick Start

Use the ctf-crypto skill to identify the type of cipher used in the given challenge: python3 -c "from Crypto.Util.number import *; n=<N>; print(f'bits={n.bit_length()}')"

Frequently Asked Questions about ctf-crypto

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I attack RSA, AES, or ECC ciphers in a CTF challenge?

To attack RSA, AES, or ECC ciphers in a CTF challenge, you can apply specialized cryptographic attack techniques leveraging libraries like pycryptodome and sympy to identify vulnerabilities and exploit weak encryption implementations.

What cryptographic attack techniques are available for lattice and LWE problems?

Cryptographic attack techniques for lattice and LWE problems utilize tools like fpylll and z3-solver to analyze Closest Vector Problem (CVP) and Learning With Errors scenarios, enabling you to solve complex mathematical crypto challenges.

Can I use z3-solver and sympy for mathematical crypto problems in CTFs?

Yes, you can use z3-solver and sympy for mathematical crypto problems in CTFs, as the skill integrates these dependencies to perform advanced cryptographic operations and solve number theory and PRNG challenges.

Do I need Python 3 and internet access to run ctf-crypto attack scripts?

Yes, you need Python 3 and internet access to run ctf-crypto attack scripts, because the environment requires internet connectivity to install necessary tool dependencies like pycryptodome, hashpumpy, and py_ecc.

How do I identify the encryption type used in a CTF cryptography challenge?

To identify the encryption type in a CTF cryptography challenge, you can run a quick start script using pycryptodome to analyze parameters like the bit length of N, which helps determine if the cipher is RSA or another mathematical scheme.

Does this skill support hash length extension attacks and signature forgery?

Yes, this skill supports hash length extension attacks and signature forgery by integrating the hashpumpy library to exploit hashing vulnerabilities and analyze cryptographic signatures within CTF scenarios.