Efficient modular exponentiation algorithms in Python | Dark Hacker News