Baby-Giant Step Calculator

O(√p) discrete log

All Tools

Loading tool...

About Baby-Giant Step Calculator

A Baby-step Giant-step (BSGS) calculator solving g^x ≡ h (mod p). Precomputes baby steps g^j for j=0..m, then checks giant steps h·g^{-im} for matches. Time and space O(√p). Shows the baby and giant step tables. Client-side.

Baby-Giant Step Calculator Features

  • Discrete log
  • Baby steps
  • Giant steps
  • Match finding
  • Step tables
Advertisement
Advertisement