What is the default encryption exponent used in RSA encryption by OpenSSL? Is it e = 2^16 + 1 = 65537?
Anybody knows where can I find this default value in the source files?
It's actually the Public Exponent field in the certificate, so you would find it in the code that makes new certificates.
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 0 (0x0)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=US, ST=Maryland, O=University of Maryland, OU=College Park Campus, CN=UMD College Park Root v0
Validity
Not Before: Jun 6 17:15:39 2003 GMT
Not After : Aug 15 17:15:39 2007 GMT
Subject: C=US, ST=Maryland, O=University of Maryland, OU=College Park Campus, CN=UMD College Park Root v0
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (2048 bit)
Modulus (2048 bit):
00:af:69:68:23:bf:46:9f:0c:d1:a1:20:c9:a1:2b:
0f:87:5c:6a:49:26:36:0a:f6:07:c9:76:0c:d0:73:
61:02:52:dd:10:13:75:d5:66:6e:ef:4b:2f:89:a1:
e1:7c:aa:1f:1c:b5:54:9c:b8:20:f8:df:62:a8:28:
28:00:dc:88:b4:5e:ab:2d:d0:93:77:f0:1c:3d:39:
9d:eb:f3:6a:31:ec:f9:a2:bb:75:8b:34:03:f1:e8:
d0:11:95:21:74:44:69:df:0b:a5:3f:b5:81:e4:11:
5f:2c:e3:cc:d6:84:c9:b6:e0:c0:77:34:27:0c:5b:
af:14:06:59:eb:36:4a:62:55:17:06:6f:78:94:49:
2d:55:00:97:ce:85:3d:5e:d9:14:63:4c:8e:0f:f0:
78:4e:0b:bd:de:c8:8d:76:1b:94:ec:a3:21:bd:4e:
fe:3d:2e:7b:72:8d:32:b7:e6:56:c8:2e:07:d5:97:
f3:eb:d2:0f:e9:0f:6a:3e:2f:7d:19:61:d1:3d:97:
a4:f6:21:8b:05:3b:f0:ec:69:ac:8d:80:9b:81:fa:
3e:79:ef:ad:ef:55:53:3a:7e:96:fb:89:3a:c3:ad:
2a:cb:a7:d6:ad:55:7c:5e:2c:ec:da:40:e4:3c:c5:
49:d6:99:5c:de:99:27:8f:8b:7d:03:d5:3f:1d:37:
e6:3d
Exponent: 65537 (0x10001)
................^^^^^^^^^^^^^^^^^^^^^^^^^..... Here is public exponent
X509v3 extensions:
X509v3 Subject Alternative Name:
...
-- Charles B (Ben) Cranston mailto: [EMAIL PROTECTED] http://www.wam.umd.edu/~zben
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]