Example of securely exchanging encrypted messages using symmetric key encryption and asymmetric encryption