Pohlig–Hellman_algorithm