![]() ![]() Finally, A generates a digital signature (using A’s private key) for the message. A now uses the AES secret key to encrypt the actual message to be sent. The process works as follows: A generates an AES secret key and encrypts the key using B’s public key. Let us assume that party A wants to send party B a secure message. Thus, the encryption provides privacy, and the digital signature provides authentication. When two parties want to securely exchange messages, we use digital signature in addition to encryption to assure the receiver that the message came from the sender, and has not been tampered in transit. Let us now combine the two and develop a procedure for encrypting a file and generating a digital signature for exchange between two parties. We have also covered in a separate article the process of generating a digital signature for a file and verification using RSA. ![]() We have previously covered using RSA for file encryption in java. Decrypting the Message and Verifying the Signature Load or Generate the RSA Public and Private Keys
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |