My application should have a few encrypted connections.
I tried that:
byte Key = peer.DiffieHellman.DeriveKeyMaterial(CngKey.Import(PacketData, CngKeyBlobFormat.EccPublicBlob));
But this code also overwrites the keys for other connections. Is there a correctly way to make a few encrypted connections with different passwords?
PS: Google Translate =)