If you are Alice: Enter a secret and then transmit ga to Bob.
If you are Bob: Wait for the data from Alice, read it, and enter a secret . Then send to Bob and compute the shared secret.
Alice again: Read Bob's token below and compute the shared secret.