是否可以使用一个文件的去加密版本生成私钥?

Is it possible to generate a private key with one file in de- and encrypted version?

是否可以从解密文件和加密文件中生成私钥。例如,如果我有一个加密图像和原始图像,我可以从中生成私钥吗?

不,RSA 无法做到这一点。这称为已知明文攻击。

在 RSA 或 attacker might be able to trick you into decrypting a message. 中使用正确的 (OAEP) 填充很重要但是,这需要数百万次尝试,并且它只能解密一条消息,它不会恢复密钥。