Include protocol version in key derivation.

This commit is contained in:
akwizgran
2017-11-28 11:37:59 +00:00
parent 32e0b39771
commit 0084e51263
2 changed files with 17 additions and 9 deletions

View File

@@ -12,6 +12,11 @@ import org.briarproject.bramble.api.plugin.duplex.DuplexTransportConnection;
@NotNullByDefault
public interface ContactExchangeTask {
/**
* The current version of the contact exchange protocol
*/
int PROTOCOL_VERSION = 0;
/**
* Label for deriving Alice's header key from the master secret.
*/