I’ve found on internet that the exp argument of the function “is typically 3,17, or 65,537”.
How I choose it, and what is the difference between using 3,17 and 65,537?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should choose your exponent so that it is relatively prime to p-1 for all primes p which divide the modulus. Although you may encounter problems with some libraries if you try to use other values than
3,5,17,257,65537(Wikipedia offers more details on the RSA key-generation)Here is a very good description on a related question.