Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cryptography

БесплатноБез исполняемых скриптовНе проверен

Cryptanalysis techniques — lattice attacks, padding oracles, weak-RNG exploitation, signature forgery, secret-sharing recovery.

transilienceaiот transilienceai★ 641 звезда на GitHub

Об этом скилле

Cryptography

Scope

Practical cryptanalysis for CTF and pentest engagements: identifying when a cryptographic primitive's structure (custom hash, partial leaks, related primes, bad RNG, weak modes) admits a faster-than-brute-force solver, then implementing that solver in pure Python where possible. Covers RSA-style algebraic factoring, lattice/AGCD recovery, GF(2) linear collapse of "complicated-looking" custom ciphers, smooth-order DLP, differential fault attacks, and Shamir-style secret-sharing recovery over non-prime moduli. Always read source first to detect linearity/algebraic structure before reaching for SageMath or symbolic solvers.

When to use

  • A challenge or target ships custom crypto (custom hash, custom block cipher, hand-rolled key derivation) and you need to look for affine / GF(2)-linear collapse.
  • RSA-style primitives with structured primes (p = a·r + b, phi(n) perfect square, multi-prime hint files, common factors).
  • A service exposes a chosen-ciphertext / chosen-input oracle and you suspect padding-oracle, smooth-order DLP, or Bleichenbacher-style recovery.
  • AES with fault injection (correct + faulty ciphertext for the same key — Piret-Quisquater DFA).
  • Shamir secret sharing or threshold schemes with non-prime moduli (2-adic recovery via Lagrange interpolation with valuation tracking).

References

Установить cryptography в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

reference/INDEX.mdreference/cryptography-principles.mdreference/lattice-attacks.mdreference/linear-secret-recovery.mdreference/scenarios/classical/repeating-key-xor.mdreference/scenarios/lattice/agcd-attack.mdreference/scenarios/lattice/boneh-durfee-low-d.mdreference/scenarios/lattice/coppersmith-known-bits.mdreference/scenarios/lattice/lll-basis-reduction.mdreference/scenarios/padding-oracle/cbc-padding-oracle.mdreference/scenarios/padding-oracle/ecb-prefix-oracle.mdreference/scenarios/padding-oracle/pkcs1-v1.5-bleichenbacher.mdreference/scenarios/rsa-quirks/common-modulus.mdreference/scenarios/rsa-quirks/fermat-close-primes.mdreference/scenarios/rsa-quirks/low-public-exponent.mdreference/scenarios/rsa-quirks/small-prime-factorization.mdreference/scenarios/rsa-quirks/wiener-attack.mdreference/scenarios/secret-sharing/shamir-non-prime-modulus.mdreference/scenarios/signature-forgery/ecdsa-nonce-reuse.mdreference/scenarios/signature-forgery/gcd-transcript-operand-recovery.mdreference/scenarios/signature-forgery/jwt-alg-confusion.mdreference/scenarios/signature-forgery/rsa-pkcs1-v1.5-bleichenbacher.mdreference/scenarios/weak-rng/dual-ec-backdoor.mdreference/scenarios/weak-rng/lcg-state-recovery.mdreference/scenarios/weak-rng/mt19937-state-recovery.md

FAQ

Что делает скилл cryptography?

Cryptanalysis techniques — lattice attacks, padding oracles, weak-RNG exploitation, signature forgery, secret-sharing recovery.

Как установить скилл cryptography?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cryptography запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cryptography с