add algorithm Pohlig-Hellman