[Mod] New interface for the key exchange