0

I would like to use IES (x25519 and AES-GCM), but every message used a new session key, does that affect the performance of the system? do I need to used session key to refer to the key that used by previous session?

For example,

  1. Assume Alice knows Bob's public key.
  2. Alice would like to send a message to Bob.
  3. Alice generates her public and private keys,
  4. Then, she derives a session key k by using her private and Bob's public keys.

  5. Then, by using AES-GCM provides authentication for her public key and encrypts the message.

  6. She sends her public key and encrypted message to Bob.
  7. Bob drives the key and decrypts the encrypted message.
  8. Bob replay by encrypted the message by using the k.
  9. Then, if Alice would communicate with Bob, she repeats generates her public and private key.
Aymn Alaney
  • 461
  • 7
  • 18

0 Answers0