discrete_log_naive
Solve discrete logarithm problems g^x ≡ h (mod n) using a straightforward brute-force approach to find exponent x.
Instructions
Solve discrete logarithm g^x ≡ h (mod n) using naive method. (Domain: arithmetic, Category: modular_arithmetic)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| g | Yes | ||
| h | Yes | ||
| n | Yes | ||
| max_exp | No |