text: In cryptography , a key-agreement protocol is a protocol whereby two or more parties can agree on a key in such a way that both influence the outcome .
simplified: In cryptography , a key-agreement protocol is a cryptographic protocol by which two or more parties can agree on a key in such a way that both have an effect on the results .