I am looking for a good textbook suitable for graduate or advanced undergraduate students who want to explore algorithmic number theory. Specifically, algorithms for primality testing, and factoring composite numbers. Can anyone suggest a good text book for this purpose? Thank you in advance.