AlgorithmsNumerics & probabilityEdit on GitHubEdit history
Baby-Step Giant-Step
BSGS, Shanks' algorithm1971
A time–memory trade-off algorithm for discrete logarithms that stores baby steps g^j in a table with m ≈ √n and matches giant steps h·g^(−im) against it. Both time and space are O(√n).
Origin
Daniel Shanks (1971). Class number, a theory of factorization, and genera. Proceedings of Symposia in Pure Mathematics 20.doi:10.1090/pspum/020/0316385 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Derived algorithms
What it led to
Pohlig–Hellman Algorithm1978
Structural analysisPohlig–Hellman reduces the problem to discrete logarithms in prime-order subgroups, and each subproblem is commonly solved with baby-step giant-step
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…