For communication between two entities , the KDC generates a session key which they can use to secure their communications . For communication between two entities , the KDC generates a session key which they can use to secure their interactions .