en.wikipedia.org/wiki/Key-agreement_protocol A common method for key tuning is asymmetric encryption: Alice generates a K key for an algorithm (z.B. a 128-bit random sequence), then the crypt with Bob`s public key and sends the result to Bob. Bob decrypts it (with his private key) and receives a copy of K. At the end of the day, Alice and Bob know the same secret key K, so it`s an important deal. If we look at the details, we see that the key chord begins with a key realization entirely made by Alice. This “local-generation-then-asymetric-encryption” method is how most SSL connections are made over the Internet; Note that Diffie-Hellman cannot be described in this way, so don`t expect all important agreements to work that way. Many key exchange systems have a part that generates the key and simply sends that key to the other party — the other party has no influence on the key. The use of a key MEMORANDUM of understanding avoids some of the major distribution problems associated with these systems. The key agreement refers to a key exchange form (see also key key) in which two or more users execute a protocol in order to safely release a resulting key value. An important transport protocol can be used as an alternative to the key agreement.
The distinguishing feature of a key MOU is that participating users contribute equally to the calculation of the resulting common key value (unlike a user who calculates and distributes a key value to other users). Commonly used key agreement protocols include diffie-hellman or protocols based on the RSA or ECC. This method reintegrates this keyagrement object so that it can be reused for other key chords. If this key agreement is not re-initiated by one of the init methods, the same private information and algorithm settings are used for the following key agreements. The first public public key memorandum of understanding  that meets the above criteria was the Diffie-Hellman key exchange, in which two parties jointly exposed a generator to random numbers, so that an earpiece cannot easily determine what the resulting value is used to create a common key. The keys involved in setting up a common secret key are created by one of the key generators (KeyPairGenerator or KeyGenerator), a KeyFactory or following an intermediate phase of the key memorandum of understanding. In cryptography, a key memorandum of understanding is a protocol in which two or more parties can agree on a key so that both influence the outcome. If this is done correctly, it prevents undesirable third parties from imposing an important decision on the appropriate parties. Protocols that are useful in practice also do not reveal to a listening party the key that has been agreed upon.