Taking two pair of keys (public, private) and calculating the shared secret,
dh2(alice_public, bob_private) and dh2(bob_public, alice_private), the result (shared secret) is different. But one of them is the right one. Tested with a different implementation in python. Bobs calculated shared secret is the right one.
Taking two pair of keys (public, private) and calculating the shared secret, dh2(alice_public, bob_private) and dh2(bob_public, alice_private), the result (shared secret) is different. But one of them is the right one. Tested with a different implementation in python. Bobs calculated shared secret is the right one.
Monitor output: