我尝试使用带有巨大 RSA 密钥的 OpenSSL。
昨晚,我生成了一个 65536 位的 RSA 密钥(花了我 6 个小时)。虽然 OpenSSL 似乎能够生成这样的密钥,但它无法使用它们进行操作:
openssl rsautl -inkey 65536.pem -in text.txt -out foo.bar
RSA operation error
139666197399208:error:04067069:rsa routines:RSA_EAY_PUBLIC_DECRYPT:modulus too large:rsa_eay.c:644:
这么大的按键可以操作吗?
这是生成的密钥,所以你不需要自己生成一个:)