Cryptographic Applications of Analytic Number Theory: Complexity Lower Bounds and Pseudorandomness