Text this: Efficient and Constant Time Modular Reduction With Generalized Mersenne Primes