Source: http://math.colorado.edu/~kstange/teaching-resources/crypto/mod26.pdf