This Python 3 code implements Galois field (finite field) arithmetic in pure Python, leveraging Python's support for very long integers.
coding@ethanmiller.com