Which of the following is used by the Diffie-Hellman encryption algorithm?