The present application describes a method and system for discovering and
authenticating communication devices within a wireless network. According
to an embodiment, communication devices exchange public keys using
multiple messages each including at least a portion of the public key of
the sending device. The devices authenticate the receipt of the public
key and establish a shared master key. The shared master key is used to
further derive a session key for securing the application data between
the communicating devices for a current session.