编写一段程序,实现两个主机之间的密钥分发和加密传输。 要求: (1)用RSA算法实现两个主机之间的密钥分发,分发的密钥是“12345678”; (2)用分发的密钥和AES加密算法,实现两个主机之间的加密数据传输,传输的数据是“NPU”; (3)两个步骤在程序中自动执行完,无手动参与;程序可以在同一台主机上完成,但数据必须经过网络传输(可以本地发送,本地接收); (4)RSA和AES算法必须是源码编译得到,不能直接用编译过的库文件;RSA和AES算法的源码可以来自于网络或其他任意渠道; (5)用Python或C/C++语言实现程序,写出实现技术文档。
Contributions last year: 0
Max continuous contributions: 0
Recent contributions: 0
Commits, issues, and pull requests will appear on your contribution graph. Only when the email address used for the commits in local configuration is associated with your GitOSC account, the commits' contribution will be counted.