Optimizing AES key exchanging by sending it once