A system and method for providing secure exchange of messages between
peers in peer groups. Embodiments may be used to provide secured sessions
between peers in the peer-to-peer network. Embodiments may also be used
to provide secured group sessions among a plurality of peers. A first
peer may generate and send a public key to a second peer. The second peer
may generate a session key from the public key. The second peer may send
the session key to the first peer, or alternatively to two or more peers
in a group session. The session key may be secured when sending. Messages
and/or other data exchanged between the two peers may be encrypted and
decrypted using the session key.