1 B -A NB2 A-B NB BKAB
- B decrypts the message with his private key and verifies the identity of A using A's public key.
- If the identity is verified, B decrypts the second message with his shared secret key and checks if the nonce NB matches the one sent in the first message.
- If the nonce matches, B accepts the message and sends a confirmation message to A. If not, B rejects the message and does not send a confirmation.
- A receives the confirmation and knows that the message was successfully received and accepted by B
原文地址: https://www.cveoy.top/t/topic/hgHz 著作权归作者所有。请勿转载和采集!