private void Button1Click(object sender, RoutedEventArgs e) { domain = DomainParameters.GenerateDomainParameters(1, 999999); schnorr = new Schnorr(domain); P.Text = domain.P.ToString(); Q.Text = domain.Q.ToString(); H.Text = domain.H.ToString(); G.Text = domain.G.ToString(); T.Text = schnorr.T.ToString(); ResetForm(); }
public SchorrVerifier(Schnorr schorrParameters) { Domain = schorrParameters.Domain; T = schorrParameters.T; numbers = new RandomNumberGenerator(); }
public SchorrProver(Schnorr schorrParameters) { Domain = schorrParameters.Domain; numbers = new RandomNumberGenerator(); }