One-Way Functions: The Prime Factorization Example