Cryptographic Applications of Analytic Number Theory