/bsgs-1

Baby Step Giant Step algorithm implemented in python3. With complexity nlog(n)

Primary LanguagePython

bsgs.py Description- This solves DLP (Descrete Logrithem Problem) for x in the equation: g^x = h % p

Usage- python3 bsgs.py g h p

Example- python3 bsgs.py 13 5 37 25 is a solution for x Done