资 源 简 介
Implement a secure chat with the following characteristics:
Asymmetric (Public key) cryptography is used to encrypt session keys. We therefore have to generate two public/private key pairs, one for each of the chat participants (in this case we limit the number of secure chat participants to two). (RSA)
Symmetric (private key) cryptography is used to secure chat messages. We have to generate a session key. The session key will be common to chat participants. (AES)
Alice is the chat instigator. However, you should also code for bob being the chat instigator.
The chat instigator will generate the session key and securely transmit it to the other chat participant using RSA.
The chat instigator will create a MD5 hash of the session key; use RSA to create a digital signature and communicate this to the other chat participant.
The other chat participant will create a MD5 hash or th