SMS dit: Analytic methods in the analysis and design of number-theoretic algorithms /