public static void generateSecretKey(IProtocolAgentBB84 master, IProtocolAgentBB84 slave, int size) { IProtocolBB84 protocol = generateBB84Protocol(); protocol.AgentMaster = master; protocol.AgentSlave = slave; generateSecretKey(protocol, size); }
public ProtocolBB84Abstract() : base() { _agentmaster = null; _agentslave = null; _agenteavesdropper = null; _configuration = new ConfigurationProtocolBB84(this.GetType().Name); }