Text this: Cryptanalysis of number theoretic ciphers