Advertisement
Guest User

Untitled

a guest
Dec 26th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Alice and Bob both already know the sym key.
  2.  
  3. <kadence> Alice generates a RSA keypair, encrypts the public key with the sym key
  4. <kadence> send the encrypted public key to Bob
  5. <kadence> Bob decrpypts it using the sym key
  6. <kadence> generates a session key, encrypts with Alice's public key
  7. <kadence> sends to Alice
  8. <kadence> Alice decrypts message with her private key
  9. <kadence> both now have a session key
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement