• @hperrin
    link
    English
    2
    edit-2
    2 months ago

    Technically, either side can request that the other generate a key and use that one, and it will cost an additional round trip. But generally in practice, each side generates their own key and tells the other side that it will be using that key.

    Yes, those keys are for symmetric encryption, and yes, it’s for performance. It’s way faster to just exchange keys with asymmetric encryption rather than do the whole stream.

    Also, I think you meant SSL, not SSH. SSH Uses a different key exchange protocol.

    I love cryptography. :)