sagemath

Installation
SKILL.md

SageMath

Sage is the go-to environment for mathematical cryptanalysis and attack modeling. Use it when standard scripting is not enough for algebraic structures and lattice workflows.

Typical use cases

  • Finite field computations (GF, extension fields).
  • Polynomial rings and elimination/resultants.
  • Elliptic curve arithmetic and discrete-log style tasks.
  • Lattice modeling (matrix, LLL) for partial leakage recovery.
  • Fast prototyping of attack math before operationalizing in Python.

Invocation modes

# REPL
sage
Installs
4
GitHub Stars
22
First Seen
Sep 5, 2026
sagemath — aeondave/malskill